diff -r 1b11da6ee69e -r 00ea3613f82c mercurial/commands.py --- a/mercurial/commands.py Fri Jun 03 12:54:54 2005 -0800 +++ b/mercurial/commands.py Fri Jun 03 12:55:56 2005 -0800 @@ -70,7 +70,7 @@ def checkout(ui, repo, changeset=None): '''checkout a given changeset or the current tip''' - (c, a, d, u) = repo.diffdir(repo.root, repo.current) + (c, a, d, u) = repo.diffdir(repo.root) if c or a or d: ui.warn("aborting (outstanding changes in working directory)\n") sys.exit(1) @@ -160,7 +160,7 @@ A = added R = removed ? = not tracked''' - (c, a, d, u) = repo.diffdir(repo.root, repo.current) + (c, a, d, u) = repo.diffdir(repo.root) (c, a, d, u) = map(lambda x: relfilter(repo, x), (c, a, d, u)) for f in c: print "C", f