##// END OF EJS Templates
addchangegroup: document the current locking semantics
Benoit Boissinot -
r13271:952baa2f default
parent child Browse files
Show More
@@ -1672,6 +1672,8 b' class localrepository(repo.repository):'
1672 """Add the changegroup returned by source.read() to this repo.
1672 """Add the changegroup returned by source.read() to this repo.
1673 srctype is a string like 'push', 'pull', or 'unbundle'. url is
1673 srctype is a string like 'push', 'pull', or 'unbundle'. url is
1674 the URL of the repo where this changegroup is coming from.
1674 the URL of the repo where this changegroup is coming from.
1675 If lock is not None, the function takes ownership of the lock
1676 and releases it after the changegroup is added.
1675
1677
1676 Return an integer summarizing the change to this repo:
1678 Return an integer summarizing the change to this repo:
1677 - nothing changed or no source: 0
1679 - nothing changed or no source: 0
General Comments 0
You need to be logged in to leave comments. Login now