Mercurial > hg
changeset 3654:c15c5aedaf47
remove relpath
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 15 Nov 2006 15:51:58 -0600 |
parents | d793e09e1b71 |
children | da361aa7a118 |
files | mercurial/commands.py |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Wed Nov 15 15:51:58 2006 -0600 +++ b/mercurial/commands.py Wed Nov 15 15:51:58 2006 -0600 @@ -24,12 +24,6 @@ if modified or added or removed or deleted: raise util.Abort(_("outstanding uncommitted changes")) -def relpath(repo, args): - cwd = repo.getcwd() - if cwd: - return [util.normpath(os.path.join(cwd, x)) for x in args] - return args - def logmessage(opts): """ get the log message according to -m and -l option """ message = opts['message']