Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-2216

Nested subrepositories (BB-1004)

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      A typical and quite canonical setup using subrepositories is to have the source repository embedded directly into the main repository with a {{

      {.hgsub}

      }} file like this:
      {{{
      libs/foo = libs/foo
      libs/bar = libs/bar
      }}}

      You cannot push such a repository to Bitbucket since it would require that you can clone from URLs of the form
      {{{
      http://bitbucket.org/<user>/<main>/
      http://bitbucket.org/<user>/<main>/libs/libfoo
      http://bitbucket.org/<user>/<main>/libs/libbar
      }}}

      Sniffing the user agent should make it possible to support this for {{

      {hg clone}

      }}. However, it is a good question how Bitbucket should behave when people use their normal browser, i.e., where do they go to see the {{

      {libs/libfoo}

      }} repository?

      Attachments

        Activity

          People

            Unassigned Unassigned
            e07804f3a382 mg
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: