mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
phases: properly register excluded changeset when revision are specified
There was no other drawback than a bad UI message for now.
This commit is contained in:
parent
e52f0054ce
commit
fa04c4b2de
@ -116,7 +116,7 @@ def findcommonoutgoing(repo, other, onlyheads=None, force=False, commoninc=None)
|
||||
sets = repo.changelog.findcommonmissing(og.commonheads, onlyheads)
|
||||
og._common, allmissing = sets
|
||||
og._missing = missing = []
|
||||
og._excluded = excluded = []
|
||||
og.excluded = excluded = []
|
||||
for node in allmissing:
|
||||
if repo[node].phase() >= phases.secret:
|
||||
excluded.append(node)
|
||||
|
@ -171,7 +171,7 @@ Pushing applied patch with --force
|
||||
$ hg push --force -r default ../forcepush2
|
||||
pushing to ../forcepush2
|
||||
searching for changes
|
||||
no changes found
|
||||
no changes to push but 1 secret changesets
|
||||
$ hg phase -d 'mq()'
|
||||
$ hg push --force -r default ../forcepush2
|
||||
pushing to ../forcepush2
|
||||
|
Loading…
Reference in New Issue
Block a user