Mercurial > hg
comparison mercurial/strip.py @ 51700:7f0cb9ee0534
Backout accidental publication of a large range of revisions
I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 23 Jul 2024 10:02:46 +0200 |
parents | 493034cc3265 |
children | ca7bde5dbafb |
comparison
equal
deleted
inserted
replaced
51699:bd1483fd7088 | 51700:7f0cb9ee0534 |
---|---|
61 force=None, | 61 force=None, |
62 bookmarks=None, | 62 bookmarks=None, |
63 soft=False, | 63 soft=False, |
64 ): | 64 ): |
65 with repo.wlock(), repo.lock(): | 65 with repo.wlock(), repo.lock(): |
66 | |
66 if update: | 67 if update: |
67 checklocalchanges(repo, force=force) | 68 checklocalchanges(repo, force=force) |
68 urev = _findupdatetarget(repo, revs) | 69 urev = _findupdatetarget(repo, revs) |
69 hg.clean(repo, urev) | 70 hg.clean(repo, urev) |
70 repo.dirstate.write(repo.currenttransaction()) | 71 repo.dirstate.write(repo.currenttransaction()) |