[Bug 6096] New: Clone with subrepo path now considered illegal in version4.9

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Mon Mar 4 04:41:31 EST 2019


https://bz.mercurial-scm.org/show_bug.cgi?id=6096

            Bug ID: 6096
           Summary: Clone with subrepo path now considered illegal in
                    version4.9
           Product: Mercurial
           Version: 4.9
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: richard.gerum at yahoo.de
                CC: mercurial-devel at mercurial-scm.org

Cloning our existing repository with the latest version of mercurial (4.9)
fails:

subrepo path contains illegal compontent:
clickpoints/includes/qextendedgraphicsview

I have seen that there was a change to prevent absolute paths in
subrepositories to prevent mercurial from being tricked to write outside the
repository path, but our path is a relative path, so it should not be
considered illegal.

Here is the content of our .hgsub file:

clickpoints/includes/qextendedgraphicsview = qextendedgraphicsview

[subpaths]
https://bitbucket\.org/fabry_biophysics/clickpoints/qextendedgraphicsview =
https://bitbucket.org/fabry_biophysics/qextendedgraphicsview
https://(.*@)bitbucket\.org/fabry_biophysics/clickpoints/qextendedgraphicsview
= https://\1bitbucket.org/fabry_biophysics/qextendedgraphicsview
ssh://(.*@)bitbucket\.org/fabry_biophysics/clickpoints/qextendedgraphicsview =
ssh://\1bitbucket.org/fabry_biophysics/qextendedgraphicsview

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list