Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 4914:9a2a73ea6135
repo locks: use True/False
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 21 Jul 2007 16:02:09 -0500 |
parents | 30847b8af7ca |
children | 97b734fb9c6f |
line wrap: on
line diff
--- a/mercurial/commands.py Sat Jul 21 16:02:09 2007 -0500 +++ b/mercurial/commands.py Sat Jul 21 16:02:09 2007 -0500 @@ -675,7 +675,7 @@ This command takes effect in the next commit. To undo a copy before that, see hg revert. """ - wlock = repo.wlock(0) + wlock = repo.wlock(False) errs, copied = docopy(ui, repo, pats, opts, wlock) return errs @@ -2247,7 +2247,7 @@ This command takes effect in the next commit. To undo a rename before that, see hg revert. """ - wlock = repo.wlock(0) + wlock = repo.wlock(False) errs, copied = docopy(ui, repo, pats, opts, wlock) names = [] for abs, rel, exact in copied: