[Bug 4685] New: hg incoming/pull <bundle> fails when secret changesets are involved

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue May 26 16:26:18 CDT 2015


          Priority: normal
            Bug ID: 4685
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hg incoming/pull <bundle> fails when secret changesets
                    are involved
          Severity: bug
    Classification: Unclassified
                OS: Mac OS
          Reporter: behrends at gmail.com
          Hardware: Macintosh
            Status: UNCONFIRMED
           Version: 3.4
         Component: Mercurial
           Product: Mercurial


hg incoming/pull from a strip-backup bundle where either the bundle or the
repository contains secret changesets results in a FilteredIndexError. This can
also occur with obsolete changesets. While hg pull is discouraged over hg
unbundle, I would still not expect an exception, and hg incoming should work

Steps to Reproduce:

hg init example
cd example
touch alpha
hg add
hg commit -m 1
touch beta
hg add
hg commit -m 2
hg phase -f -s 0
hg strip -r 1
hg inc .hg/strip-backup/*.hg

Actual Results:

Mercurial raises a FilteredIndexError.

Expected Results:

List of the one changeset in the bundle.

Build and platform:

Mercurial 3.4 (installed via pip in a virtualenv), OS X 10.8.5 and later.
Probably not platform-specific.

Additional information:

Bug 3890, bug 4541, and bug 4652 may be related.

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

More information about the Mercurial-devel mailing list