Mercurial > hgrepos > DevTools > mercurial-extensions
diff extensions/kwarchive.py @ 116:23cbfc34ae4a
Begin "last" style path output with ".../"
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Thu, 16 Aug 2018 23:22:12 +0200 |
| parents | 06a60e2a9887 |
| children | e9c78a0bfe6a |
line wrap: on
line diff
--- a/extensions/kwarchive.py Thu Aug 16 23:11:37 2018 +0200 +++ b/extensions/kwarchive.py Thu Aug 16 23:22:12 2018 +0200 @@ -411,7 +411,7 @@ path_uri = bytes(path_url) elif path_filter == "last": path_url = str(util.url(ui.paths[hgpath].loc)).split("/") - path_uri = bytes(path_url[-1]) + path_uri = bytes(b".../"+path_url[-1]) else: raise error.Abort("path-filter `%s' not implemented" % path_filter)
