Mercurial > hg
comparison mercurial/subrepo.py @ 11455:3827728b54e2 stable
subrepo: fix silent push failure for SVN (issue2241)
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 27 Jun 2010 18:20:49 -0500 |
parents | dd543e8da87e |
children | f0ea93557133 |
comparison
equal
deleted
inserted
replaced
11454:9b0406b23be0 | 11455:3827728b54e2 |
---|---|
377 new = int(state[1]) | 377 new = int(state[1]) |
378 if new > old: | 378 if new > old: |
379 self.get(state) | 379 self.get(state) |
380 | 380 |
381 def push(self, force): | 381 def push(self, force): |
382 # nothing for svn | 382 # push is a no-op for SVN |
383 pass | 383 return True |
384 | 384 |
385 types = { | 385 types = { |
386 'hg': hgsubrepo, | 386 'hg': hgsubrepo, |
387 'svn': svnsubrepo, | 387 'svn': svnsubrepo, |
388 } | 388 } |