[Bug 4827] New: splicemap check shouldn't force parent identifiers to be in source

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Sep 15 14:02:33 CDT 2015


http://bz.selenic.com/show_bug.cgi?id=4827

            Bug ID: 4827
                OS: Mac OS
           Product: Mercurial
          Severity: bug
           Summary: splicemap check shouldn't force parent identifiers to
                    be in source
                CC: durin42 at gmail.com, mercurial-devel at selenic.com
           Version: default branch
         Component: convert
          Reporter: ernesto.revilla at gmail.com
            Status: UNCONFIRMED
          Assignee: bugzilla at selenic.com
    Classification: Unclassified
          Hardware: Macintosh
          Priority: critical

Say I converted svn:repo/trunk to hg:repo_branch_default and added already new
changesets, now I want to add svn:repo/branches/X, so I define splicemap to set
the parent of the first commit of svn:repo/branches/X to some revision of
hg:repo_branch_default. 

If I set splicemap to:
svn:....     svn:....   I get some "invalid parent identifier, as svn:... is
all parent identifiers are read out of the hg target repo (40 digit numbers),
and it fails at:

https://selenic.com/hg/annotate/8c2fdf7d5645/hgext/convert/convcmd.py#l155

which checks the format of both, child and parent changeset identifiers against
the source repo, instead of checking the parent(s)' identifier againstthe
target repo.

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


More information about the Mercurial-devel mailing list