Show More
@@ -29,6 +29,7 b' from mercurial import (' | |||||
29 | error, |
|
29 | error, | |
30 | node, |
|
30 | node, | |
31 | obsolete, |
|
31 | obsolete, | |
|
32 | pycompat, | |||
32 | registrar, |
|
33 | registrar, | |
33 | scmutil, |
|
34 | scmutil, | |
34 | ) |
|
35 | ) | |
@@ -152,6 +153,7 b' def uncommit(ui, repo, *pats, **opts):' | |||||
152 | deleted in the changeset will be left unchanged, and so will remain |
|
153 | deleted in the changeset will be left unchanged, and so will remain | |
153 | modified in the working directory. |
|
154 | modified in the working directory. | |
154 | """ |
|
155 | """ | |
|
156 | opts = pycompat.byteskwargs(opts) | |||
155 |
|
157 | |||
156 | with repo.wlock(), repo.lock(): |
|
158 | with repo.wlock(), repo.lock(): | |
157 | wctx = repo[None] |
|
159 | wctx = repo[None] |
General Comments 0
You need to be logged in to leave comments.
Login now