Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/cmdutil.py @ 39314:6b81d2ff118f
cmdutil: fix typo in revert()
Differential Revision: https://phab.mercurial-scm.org/D4381
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Mon, 27 Aug 2018 04:31:09 +0530 |
parents | 53e532007878 |
children | cde75233c415 |
comparison
equal
deleted
inserted
replaced
39313:3c4b2e880273 | 39314:6b81d2ff118f |
---|---|
2771 # workingctx to get consistent result (issue4497). this means 'set:**' | 2771 # workingctx to get consistent result (issue4497). this means 'set:**' |
2772 # cannot be used to select missing files from target rev. | 2772 # cannot be used to select missing files from target rev. |
2773 | 2773 |
2774 # `names` is a mapping for all elements in working copy and target revision | 2774 # `names` is a mapping for all elements in working copy and target revision |
2775 # The mapping is in the form: | 2775 # The mapping is in the form: |
2776 # <asb path in repo> -> (<path from CWD>, <exactly specified by matcher?>) | 2776 # <abs path in repo> -> (<path from CWD>, <exactly specified by matcher?>) |
2777 names = {} | 2777 names = {} |
2778 | 2778 |
2779 with repo.wlock(): | 2779 with repo.wlock(): |
2780 ## filling of the `names` mapping | 2780 ## filling of the `names` mapping |
2781 # walk dirstate to fill `names` | 2781 # walk dirstate to fill `names` |