# HG changeset patch # User Benoit Boissinot # Date 2006-02-20 23:45:02 # Node ID 13f8e068d13c78386b077f28e279b2e6ea43d2aa # Parent a8f7791e36800346af1456926882077698b6842b fix typo in debugrebuildstate diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -994,7 +994,7 @@ def debugrebuildstate(ui, repo, rev=None change = repo.changelog.read(rev) n = change[0] files = repo.manifest.readflags(n) - wlock = self.repo.wlock() + wlock = repo.wlock() repo.dirstate.rebuild(rev, files.iteritems()) def debugcheckstate(ui, repo):