Mercurial > hg-stable
view hgext/__init__.py @ 23427:3778884197f0
addremove: print relative paths when called with -I/-X (BC)
For "hg addremove 'glob:*.py'", we print any paths added or removed as
relative to the current directory, but when "hg addremove -I
'glob:*.py'" is used, we use the absolute path (relative from the repo
root). It seems like they should be the same, so change it so we use
relative paths in both cases. Continue to use absolute paths when no
patterns are given.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 01 Dec 2014 21:48:32 -0800 |
parents | 7d439981bec4 |
children | 155e3308289c |