Mercurial > hg
changeset 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 | d0c67b52ac01 |
files | hgext/convert/__init__.py hgext/convert/subversion.py |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/__init__.py Wed Oct 10 00:15:33 2007 -0700 +++ b/hgext/convert/__init__.py Wed Oct 10 15:30:00 2007 -0700 @@ -10,7 +10,7 @@ from darcs import darcs_source from git import convert_git from hg import mercurial_source, mercurial_sink -from subversion import convert_svn, debugsvnlog +from subversion import svn_source, debugsvnlog import filemap import os, shutil @@ -20,7 +20,7 @@ commands.norepo += " convert debugsvnlog" sink_converters = [mercurial_sink] -source_converters = [convert_cvs, convert_git, convert_svn, +source_converters = [convert_cvs, convert_git, svn_source, mercurial_source, darcs_source] def convertsource(ui, path, **opts): for c in source_converters:
--- a/hgext/convert/subversion.py Wed Oct 10 00:15:33 2007 -0700 +++ b/hgext/convert/subversion.py Wed Oct 10 15:30:00 2007 -0700 @@ -93,9 +93,9 @@ get_log_child(sys.stdout, *args) # SVN conversion code stolen from bzr-svn and tailor -class convert_svn(converter_source): +class svn_source(converter_source): def __init__(self, ui, url, rev=None): - super(convert_svn, self).__init__(ui, url, rev=rev) + super(svn_source, self).__init__(ui, url, rev=rev) try: SubversionException