Show More
@@ -157,7 +157,7 b' def uncommit(ui, repo, *pats, **opts):' | |||||
157 | with repo.wlock(), repo.lock(): |
|
157 | with repo.wlock(), repo.lock(): | |
158 |
|
158 | |||
159 | if not pats and not repo.ui.configbool('experimental', |
|
159 | if not pats and not repo.ui.configbool('experimental', | |
160 |
|
|
160 | 'uncommitondirtywdir'): | |
161 | cmdutil.bailifchanged(repo) |
|
161 | cmdutil.bailifchanged(repo) | |
162 | old = repo['.'] |
|
162 | old = repo['.'] | |
163 | rewriteutil.precheck(repo, [old.rev()], 'uncommit') |
|
163 | rewriteutil.precheck(repo, [old.rev()], 'uncommit') |
General Comments 0
You need to be logged in to leave comments.
Login now