[Bug 5648] New: Phase not preserved as part of streaming clone
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Wed Aug 2 21:27:25 UTC 2017
https://bz.mercurial-scm.org/show_bug.cgi?id=5648
Bug ID: 5648
Summary: Phase not preserved as part of streaming clone
Product: Mercurial
Version: default branch
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: bug
Priority: normal
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: gregory.szorc at gmail.com
CC: mercurial-devel at mercurial-scm.org
`hg clone --uncompressed` won't preserve phases from the server.
If you clone from a repo that has draft changesets, their phase gets promoted
to public when you `hg clone --uncompressed`, even if the server is marked as
non-publishing.
If you clone from a repo that has hidden changesets using `hg clone
--uncompressed`, those hidden changesets get transferred and their phase is
promoted to public, causing the obsolescence marker to get ignored and the
changeset to appear visible.
I want to say this is a regression between 4.1 and 4.2 because attempting to
upgrade 4.1 to 4.2 in some test files at Mozilla helped uncover this issue. But
I can reproduce the bad behavior with a standalone .t test using 4.1. So I
dunno what's going on.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list