equal
deleted
inserted
replaced
415 """Find the latest revid affecting path, up to stop. It may return |
415 """Find the latest revid affecting path, up to stop. It may return |
416 a revision in a different module, since a branch may be moved without |
416 a revision in a different module, since a branch may be moved without |
417 a change being reported. Return None if computed module does not |
417 a change being reported. Return None if computed module does not |
418 belong to rootmodule subtree. |
418 belong to rootmodule subtree. |
419 """ |
419 """ |
|
420 if not path.startswith(self.rootmodule): |
|
421 # Requests on foreign branches may be forbidden at server level |
|
422 self.ui.debug(_('ignoring foreign branch %r\n') % path) |
|
423 return None |
|
424 |
420 if not stop: |
425 if not stop: |
421 stop = svn.ra.get_latest_revnum(self.ra) |
426 stop = svn.ra.get_latest_revnum(self.ra) |
422 try: |
427 try: |
423 self.reparent('') |
428 self.reparent('') |
424 dirent = svn.ra.stat(self.ra, path.strip('/'), stop) |
429 dirent = svn.ra.stat(self.ra, path.strip('/'), stop) |