--- a/hgext/evolve.py Wed Oct 16 00:37:29 2013 +0200
+++ b/hgext/evolve.py Fri Jul 26 12:06:44 2013 +0200
@@ -562,7 +562,7 @@
"""Warn that the working directory parent is an obsolete changeset"""
res = origfn(ui, repo, *args, **opts)
if repo['.'].obsolete():
- ui.warn(_('Working directory parent is obsolete\n'))
+ ui.warn(_('working directory parent is obsolete!\n'))
return res
# XXX this could wrap transaction code
@@ -1236,7 +1236,7 @@
children = [ctx for ctx in wparents[0].children() if not ctx.obsolete()]
displayer = cmdutil.show_changeset(ui, repo, {'template': shorttemplate})
if not children:
- ui.warn(_('No non-obsolete children\n'))
+ ui.warn(_('no non-obsolete children\n'))
return 1
if len(children) == 1:
c = children[0]
@@ -1246,7 +1246,7 @@
else:
for c in children:
displayer.show(c)
- ui.warn(_('Multiple non-obsolete children, explicitly update to one\n'))
+ ui.warn(_('multiple non-obsolete children, explicitly update to one\n'))
return 1
def _reachablefrombookmark(repo, revs, mark):
@@ -1716,7 +1716,7 @@
obsoleted[:] = [str(i) for i in repo.revs('%lr', obsoleted)]
if obsoleted and len(revs) > 1:
- raise error.Abort(_('Can not graft multiple revision while '
+ raise error.Abort(_('cannot graft multiple revisions while '
'obsoleting (for now).'))
return commitwrapper(orig, ui, repo,*revs, **kwargs)