# HG changeset patch # User Matt Mackall # Date 1163627518 21600 # Node ID c15c5aedaf47113686ed02309f4ecef79257e257 # Parent d793e09e1b71ec2489810a41ac8414a5cd3a1ef9 remove relpath diff -r d793e09e1b71 -r c15c5aedaf47 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']