Show More
@@ -144,7 +144,7 repository that Mercurial does not detec | |||
|
144 | 144 | repo, you can add a ``--force`` option. |
|
145 | 145 | |
|
146 | 146 | Histedit rule lines are truncated to 80 characters by default. You |
|
147 |
can customi |
|
|
147 | can customize this behavior by setting a different length in your | |
|
148 | 148 | configuration file:: |
|
149 | 149 | |
|
150 | 150 | [histedit] |
@@ -406,7 +406,7 def applychanges(ui, repo, ctx, opts): | |||
|
406 | 406 | """Merge changeset from ctx (only) in the current working directory""" |
|
407 | 407 | wcpar = repo.dirstate.parents()[0] |
|
408 | 408 | if ctx.p1().node() == wcpar: |
|
409 |
# edit |
|
|
409 | # edits are "in place" we do not need to make any merge, | |
|
410 | 410 | # just applies changes on parent for edition |
|
411 | 411 | cmdutil.revert(ui, repo, ctx, (wcpar, node.nullid), all=True) |
|
412 | 412 | stats = None |
@@ -617,7 +617,7 class message(histeditaction): | |||
|
617 | 617 | def findoutgoing(ui, repo, remote=None, force=False, opts={}): |
|
618 | 618 | """utility function to find the first outgoing changeset |
|
619 | 619 | |
|
620 |
Used by initiali |
|
|
620 | Used by initialization code""" | |
|
621 | 621 | dest = ui.expandpath(remote or 'default-push', remote or 'default') |
|
622 | 622 | dest, revs = hg.parseurl(dest, None)[:2] |
|
623 | 623 | ui.status(_('comparing with %s\n') % util.hidepassword(dest)) |
@@ -1132,8 +1132,8 def cleanupnode(ui, repo, name, nodes): | |||
|
1132 | 1132 | # we should probably get ride of obsolescence marker created during the |
|
1133 | 1133 | # histedit, but we currently do not have such information. |
|
1134 | 1134 | repo = repo.unfiltered() |
|
1135 | # Find all node that need to be stripped | |
|
1136 |
# (we |
|
|
1135 | # Find all nodes that need to be stripped | |
|
1136 | # (we use %lr instead of %ln to silently ignore unknown items) | |
|
1137 | 1137 | nm = repo.changelog.nodemap |
|
1138 | 1138 | nodes = sorted(n for n in nodes if n in nm) |
|
1139 | 1139 | roots = [c.node() for c in repo.set("roots(%ln)", nodes)] |
General Comments 0
You need to be logged in to leave comments.
Login now