Show More
@@ -2868,8 +2868,7 b' def revert(ui, repo, ctx, parents, *pats' | |||||
2868 | # <asb path in repo> -> (<path from CWD>, <exactly specified by matcher?>) |
|
2868 | # <asb path in repo> -> (<path from CWD>, <exactly specified by matcher?>) | |
2869 | names = {} |
|
2869 | names = {} | |
2870 |
|
2870 | |||
2871 |
w |
|
2871 | with repo.wlock(): | |
2872 | try: |
|
|||
2873 | ## filling of the `names` mapping |
|
2872 | ## filling of the `names` mapping | |
2874 | # walk dirstate to fill `names` |
|
2873 | # walk dirstate to fill `names` | |
2875 |
|
2874 | |||
@@ -3122,8 +3121,6 b' def revert(ui, repo, ctx, parents, *pats' | |||||
3122 | except KeyError: |
|
3121 | except KeyError: | |
3123 | raise error.Abort("subrepository '%s' does not exist in %s!" |
|
3122 | raise error.Abort("subrepository '%s' does not exist in %s!" | |
3124 | % (sub, short(ctx.node()))) |
|
3123 | % (sub, short(ctx.node()))) | |
3125 | finally: |
|
|||
3126 | wlock.release() |
|
|||
3127 |
|
3124 | |||
3128 | def _revertprefetch(repo, ctx, *files): |
|
3125 | def _revertprefetch(repo, ctx, *files): | |
3129 | """Let extension changing the storage layer prefetch content""" |
|
3126 | """Let extension changing the storage layer prefetch content""" |
General Comments 0
You need to be logged in to leave comments.
Login now