[Bug 3706] New: Convert updates source repository shamap

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Thu Nov 22 08:37:30 CST 2012


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

          Priority: normal
            Bug ID: 3706
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Convert updates source repository shamap
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: eug.baranov at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.3.2
         Component: convert
           Product: Mercurial

(This bug is similar to #3012 but have different use-case and context)

As I found out from bug #3012, when converting from hg to hg, convert updates
shamap of both source and destination repositories.

I want to have the following workflow which this behaviour breaks:
1. Convert multiple SVN branches to different Mercurial repos
2. Prepare splicemaps to reflect SVN merges
3. Convert separate branch repos into one repository
4. Repeat (incrementally) step 1 again.

Now, repeating step 1 won't work because effectively step 3 broke shamap files.

My suggesting in resolving this:
1. Add additional convert.hg.twoway (set to 1 by default) to allow disabling
updates of source repo
2. Document at
http://mercurial.selenic.com/wiki/ConvertExtension#Converting_from_Mercurial
that convert updates both repositories for round-tripping conversions support.

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


More information about the Mercurial-devel mailing list