remove relpath
authorMatt Mackall <mpm@selenic.com>
Wed, 15 Nov 2006 15:51:58 -0600
changeset 3654 c15c5aedaf47
parent 3653 d793e09e1b71
child 3655 da361aa7a118
remove relpath
mercurial/commands.py
--- 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']