Mercurial > hg-stable
comparison hgext/convert/subversion.py @ 5438:6fa5258be3d4
convert: rename convert_svn to svn_source
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Wed, 10 Oct 2007 15:30:00 -0700 |
parents | 4d34f8b12a9e |
children | ab4d2e9f3b97 |
comparison
equal
deleted
inserted
replaced
5437:4d34f8b12a9e | 5438:6fa5258be3d4 |
---|---|
91 util.set_binary(sys.stdout) | 91 util.set_binary(sys.stdout) |
92 args = decodeargs(sys.stdin.read()) | 92 args = decodeargs(sys.stdin.read()) |
93 get_log_child(sys.stdout, *args) | 93 get_log_child(sys.stdout, *args) |
94 | 94 |
95 # SVN conversion code stolen from bzr-svn and tailor | 95 # SVN conversion code stolen from bzr-svn and tailor |
96 class convert_svn(converter_source): | 96 class svn_source(converter_source): |
97 def __init__(self, ui, url, rev=None): | 97 def __init__(self, ui, url, rev=None): |
98 super(convert_svn, self).__init__(ui, url, rev=rev) | 98 super(svn_source, self).__init__(ui, url, rev=rev) |
99 | 99 |
100 try: | 100 try: |
101 SubversionException | 101 SubversionException |
102 except NameError: | 102 except NameError: |
103 raise NoRepo('subversion python bindings could not be loaded') | 103 raise NoRepo('subversion python bindings could not be loaded') |