Show More
@@ -3044,7 +3044,7 def strip(ui, repo, *revs, **opts): | |||||
3044 | descendantrevs = repo.revs("%s::." % uctx.rev()) |
|
3044 | descendantrevs = repo.revs("%s::." % uctx.rev()) | |
3045 | changedfiles = [] |
|
3045 | changedfiles = [] | |
3046 | for rev in descendantrevs: |
|
3046 | for rev in descendantrevs: | |
3047 | # blindy reset the files, regardless of what actually changed |
|
3047 | # blindly reset the files, regardless of what actually changed | |
3048 | changedfiles.extend(repo[rev].files()) |
|
3048 | changedfiles.extend(repo[rev].files()) | |
3049 |
|
3049 | |||
3050 | # reset files that only changed in the dirstate too |
|
3050 | # reset files that only changed in the dirstate too |
@@ -1130,7 +1130,7 class workingctx(changectx): | |||||
1130 | wlock.release() |
|
1130 | wlock.release() | |
1131 |
|
1131 | |||
1132 | def markcommitted(self, node): |
|
1132 | def markcommitted(self, node): | |
1133 |
"""Perform post-commit cleanup necessary after commiting this |
|
1133 | """Perform post-commit cleanup necessary after committing this ctx | |
1134 |
|
1134 | |||
1135 | Specifically, this updates backing stores this working context |
|
1135 | Specifically, this updates backing stores this working context | |
1136 | wraps to reflect the fact that the changes reflected by this |
|
1136 | wraps to reflect the fact that the changes reflected by this |
@@ -1494,7 +1494,7 The value of each entry defines the subs | |||||
1494 | The websub expressions follow the old interhg extension syntax, |
|
1494 | The websub expressions follow the old interhg extension syntax, | |
1495 | which in turn imitates the Unix sed replacement syntax:: |
|
1495 | which in turn imitates the Unix sed replacement syntax:: | |
1496 |
|
1496 | |||
1497 | pattername = s/SEARCH_REGEX/REPLACE_EXPRESSION/[i] |
|
1497 | patternname = s/SEARCH_REGEX/REPLACE_EXPRESSION/[i] | |
1498 |
|
1498 | |||
1499 | You can use any separator other than "/". The final "i" is optional |
|
1499 | You can use any separator other than "/". The final "i" is optional | |
1500 | and indicates that the search must be case insensitive. |
|
1500 | and indicates that the search must be case insensitive. |
General Comments 0
You need to be logged in to leave comments.
Login now