fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wstępne wykorzystanie modułu logging.
[redakcja.git]
/
lib
/
wlrepo
/
mercurial_backend
/
__init__.py
diff --git
a/lib/wlrepo/mercurial_backend/__init__.py
b/lib/wlrepo/mercurial_backend/__init__.py
index
20a39e5
..
f0d3d07
100644
(file)
--- a/
lib/wlrepo/mercurial_backend/__init__.py
+++ b/
lib/wlrepo/mercurial_backend/__init__.py
@@
-73,7
+73,9
@@
class MercurialRevision(wlrepo.Revision):
return (a.branch() == self._changectx.branch())
def has_children(self):
return (a.branch() == self._changectx.branch())
def has_children(self):
- return bool( self._library._hgrepo.changelog.children(self.hgrev()) )
+ children = self._library._hgrepo.changelog.children(self.hgrev())
+ print "C:", children, bool(children)
+ return bool(children)
def merge_with(self, other, user, message):
lock = self._library.lock(True)
def merge_with(self, other, user, message):
lock = self._library.lock(True)