Mercurial > public > mercurial-scm > hg
diff hgext/extdiff.py @ 5293:32ec518ee3cb
Merge with crew-stable
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Mon, 10 Sep 2007 23:53:23 +0200 |
parents | a1efa71f3ece 23651848d638 |
children | e668fd796b8b |
line wrap: on
line diff
--- a/hgext/extdiff.py Fri Sep 07 17:54:38 2007 +0200 +++ b/hgext/extdiff.py Mon Sep 10 23:53:23 2007 +0200 @@ -201,17 +201,17 @@ '''use closure to save diff command to use''' def mydiff(ui, repo, *pats, **opts): return dodiff(ui, repo, path, diffopts, pats, opts) - mydiff.__doc__ = '''use %(path)r to diff repository (or selected files) + mydiff.__doc__ = '''use %(path)s to diff repository (or selected files) Show differences between revisions for the specified - files, using the %(path)r program. + files, using the %(path)s program. When two revision arguments are given, then changes are shown between those revisions. If only one revision is specified then that revision is compared to the working directory, and, when no revisions are specified, the working directory files are compared to its parent.''' % { - 'path': path, + 'path': util.uirepr(path), } return mydiff cmdtable[cmd] = (save(cmd, path, diffopts),