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

            Bug ID: 6845
           Summary: streaming clonebundle publishes draft changesets
           Product: Mercurial
           Version: stable branch
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: clonebundles
          Assignee: bugzi...@mercurial-scm.org
          Reporter: mathias.dem...@gmail.com
                CC: mercurial-de...@mercurial-scm.org
    Python Version: ---

I see it on 6.5.1, but it's also on stable (and I expect on default as well).

Running on the mercurial-devel repository itself:
./hg bundle --all --type "none-streamv2;obsolescence=true;phases=true"
foo.bundle
./hg init someclone
./hg -R someclone unbundle foo.bundle
./hg -R someclone log -G #<-- everything became public

Digging a bit further in the code, I see 'unbundlepart' instances being called.
In order:
1. streamv2
2. obsmarkers
3. phase-heads

The phase-heads unbundlepart tries to call 'phases.updatephases', but in
'advanceboundary', the filter for revs that can have their phase changed, comes
up empty: revs = [rev for rev in revs if self.phase(repo, rev) >= phase]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to