Show More
@@ -3638,7 +3638,7 b' def rename(ui, repo, patch, name=None, *' | |||||
3638 | if r and patch in r.dirstate: |
|
3638 | if r and patch in r.dirstate: | |
3639 | wctx = r[None] |
|
3639 | wctx = r[None] | |
3640 | with r.wlock(): |
|
3640 | with r.wlock(): | |
3641 |
if r.dirstate |
|
3641 | if r.dirstate.get_entry(patch).added: | |
3642 | r.dirstate.set_untracked(patch) |
|
3642 | r.dirstate.set_untracked(patch) | |
3643 | r.dirstate.set_tracked(name) |
|
3643 | r.dirstate.set_tracked(name) | |
3644 | else: |
|
3644 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now