[prev in list] [next in list] [prev in thread] [next in thread]
List: mercurial-devel
Subject: [Bug 6845] New: streaming clonebundle publishes draft changesets
From: mercurial-bugs () mercurial-scm ! org
Date: 2023-10-10 12:37:55
Message-ID: bug-6845-285 () https ! bz ! mercurial-scm ! org/
[Download RAW message or body]
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: bugzilla@mercurial-scm.org
Reporter: mathias.demare@gmail.com
CC: mercurial-devel@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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic