git.samba.org
/
jelmer
/
subvertpy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
458a88f
)
Add .client_lock and .client_unlock
author
Jelmer Vernooij
<jelmer@jelmer.uk>
Sat, 26 May 2018 12:27:35 +0000
(13:27 +0100)
committer
Jelmer Vernooij
<jelmer@jelmer.uk>
Sat, 26 May 2018 12:27:35 +0000
(13:27 +0100)
subvertpy/tests/__init__.py
patch
|
blob
|
history
diff --git
a/subvertpy/tests/__init__.py
b/subvertpy/tests/__init__.py
index 30dfdee256de2ea6fc72992a936b56c605c18ac0..c635b2a03078d6d7eaa2d8f47a9acb85be4249e1 100644
(file)
--- a/
subvertpy/tests/__init__.py
+++ b/
subvertpy/tests/__init__.py
@@
-305,6
+305,12
@@
class SubversionTestCase(TestCaseInTempDir):
"""Resolve a conflict set on a local path."""
self.client_ctx.resolve(path, depth, choice)
+ def client_lock(self, path, comment="A comment", steal_lock=False):
+ self.client_ctx.lock(path, comment, steal_lock)
+
+ def client_unlock(self, path, steal_lock=False):
+ self.client_ctx.unlock(path, steal_lock)
+
def client_commit(self, dir, message=None, recursive=True):
"""Commit current changes in specified working copy.