Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/commands.py @ 3661:c15c5aedaf47
remove relpath
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 15 Nov 2006 15:51:58 -0600 |
parents | d793e09e1b71 |
children | da361aa7a118 |
line wrap: on
line diff
--- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -24,12 +24,6 @@ def bail_if_changed(repo): 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']