mirror of
https://github.com/facebook/sapling.git
synced 2025-01-06 04:43:19 +03:00
restack: use commit hash internally
Summary: This removes a false positive detection of "revision number" usage. Reviewed By: singhsrb Differential Revision: D16955289 fbshipit-source-id: 799b6e548ad08e9b9fdcc5d2c7ca792c9eb5684b
This commit is contained in:
parent
0668c348e3
commit
3e8db21b78
@ -39,7 +39,7 @@ def restack(ui, repo, **rebaseopts):
|
||||
# 3. Connect revs via changelog again to cover missing revs
|
||||
revs = list(repo.revs("(draft() & ::%ld)::", revs))
|
||||
|
||||
rebaseopts["rev"] = [revsetlang.formatspec("%ld", revs)]
|
||||
rebaseopts["rev"] = [ctx.hex() for ctx in repo.set("%ld", revs)]
|
||||
|
||||
rebaseopts["dest"] = "_destrestack(SRC)"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user