[Bug 4386] New: cleanup, split, fold and bijection in `hg prune`

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Sat Sep 27 16:28:37 CDT 2014


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

          Priority: normal
            Bug ID: 4386
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: cleanup, split, fold and bijection in `hg prune`
          Severity: feature
    Classification: Unclassified
                OS: All
          Reporter: pierre-yves.david at ens-lyon.org
          Hardware: PC
            Status: UNCONFIRMED
           Version: unspecified
         Component: evolution
           Product: Mercurial

In the current state for hg prune:

* hg prune <one> --succ <many> # record a split
* hg prune <many> --succ <one> # record a fold
* hg prune <many> --succ <any-many> # fail
* hg prune <many> --biject --succ <other-nb-many> # fail
* hg prune <many> --biject --succ <same-nb-many> # create multiple marker
between the two sets

Apparently "biject" is confusing people. And the current proposal is to makes
split and fold explicit:

* hg prune <one> --succ <many> # fails
* hg prune <one> --split --succ <many> # record a split
* hg prune <many> --succ <one> # fails
* hg prune <many> --fold --succ <one> # record a fold
* hg prune <many> --succ <other-nb-many> # fail
* hg prune <many> --succ <same-nb-many> # create multiple marker between the
two sets

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


More information about the Mercurial-devel mailing list