##// END OF EJS Templates
Allow callers to pass in the dirstate lock in most localrepo.py funcs....
Allow callers to pass in the dirstate lock in most localrepo.py funcs. This makes it possible to take the lock once and commit a large number of patches, without having to read and write the dirstate for each patch.

File last commit:

r1089:142b5d5e default
r1712:21dcf38e default
Show More
repo.py
8 lines | 274 B | text/x-python | PythonLexer
# repo.py - repository base classes for mercurial
#
# Copyright 2005 Matt Mackall <mpm@selenic.com>
#
# This software may be used and distributed according to the terms
# of the GNU General Public License, incorporated herein by reference.
class RepoError(Exception): pass