Show More
@@ -555,18 +555,20 b' class svn_source(converter_source):' | |||
|
555 | 555 | def revnum(self, rev): |
|
556 | 556 | return int(rev.split('@')[-1]) |
|
557 | 557 | |
|
558 |
def latest(self, path, stop= |
|
|
559 |
"""Find the latest revid affecting path, up to stop |
|
|
560 | a revision in a different module, since a branch may be moved without | |
|
561 | a change being reported. Return None if computed module does not | |
|
562 | belong to rootmodule subtree. | |
|
558 | def latest(self, path, stop=None): | |
|
559 | """Find the latest revid affecting path, up to stop revision | |
|
560 | number. If stop is None, default to repository latest | |
|
561 | revision. It may return a revision in a different module, | |
|
562 | since a branch may be moved without a change being | |
|
563 | reported. Return None if computed module does not belong to | |
|
564 | rootmodule subtree. | |
|
563 | 565 | """ |
|
564 | 566 | if not path.startswith(self.rootmodule): |
|
565 | 567 | # Requests on foreign branches may be forbidden at server level |
|
566 | 568 | self.ui.debug('ignoring foreign branch %r\n' % path) |
|
567 | 569 | return None |
|
568 | 570 | |
|
569 |
if |
|
|
571 | if stop is None: | |
|
570 | 572 | stop = svn.ra.get_latest_revnum(self.ra) |
|
571 | 573 | try: |
|
572 | 574 | prevmodule = self.reparent('') |
General Comments 0
You need to be logged in to leave comments.
Login now