Mercurial > hgrepos > DevTools > mercurial-extensions
changeset 11:b68762aad6ff
Adhere more to Mercurial conventions: print the given name as-is if not found as label for a "path"
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Sat, 26 Sep 2015 06:32:10 +0200 |
| parents | cdbc8c1a3cfa |
| children | 230cf9ee8ae3 |
| files | extensions/revinfo.py |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/extensions/revinfo.py Fri Sep 25 23:40:18 2015 +0200 +++ b/extensions/revinfo.py Sat Sep 26 06:32:10 2015 +0200 @@ -53,6 +53,8 @@ if name == canonicalpath: msg += "path: %s\n" % util.hidepassword(path.loc) break + else: + msg += "path: %s\n" % canonicalpath if dest: with open(dest, "wb") as rfile: rfile.write(msg)
