Show More
@@ -720,14 +720,19 b' class svn_sink(converter_sink, commandli' | |||
|
720 | 720 | self.wc = path |
|
721 | 721 | self.run0('update') |
|
722 | 722 | else: |
|
723 | wcpath = os.path.join(os.getcwd(), os.path.basename(path) + '-wc') | |
|
724 | ||
|
723 | 725 | if os.path.isdir(os.path.dirname(path)): |
|
724 | 726 | if not os.path.exists(os.path.join(path, 'db', 'fs-type')): |
|
725 | 727 | ui.status(_('initializing svn repo %r\n') % |
|
726 | 728 | os.path.basename(path)) |
|
727 | 729 | commandline(ui, 'svnadmin').run0('create', path) |
|
728 | 730 | created = path |
|
731 | path = path.replace('\\', '/') | |
|
732 | if not path.startswith('/'): | |
|
733 | path = '/' + path | |
|
729 | 734 | path = 'file://' + path |
|
730 | wcpath = os.path.join(os.getcwd(), os.path.basename(path) + '-wc') | |
|
735 | ||
|
731 | 736 | ui.status(_('initializing svn wc %r\n') % os.path.basename(wcpath)) |
|
732 | 737 | self.run0('checkout', path, wcpath) |
|
733 | 738 |
General Comments 0
You need to be logged in to leave comments.
Login now