Show More
@@ -95,7 +95,8 b' def convert(ui, src, dest=None, revmapfi' | |||
|
95 | 95 | "svn://repo/path/tags" exists, it is looked for tags referencing |
|
96 | 96 | converted branches. Default "trunk", "branches" and "tags" values |
|
97 | 97 | can be overriden with following options. Set them to paths |
|
98 |
relative to the source URL |
|
|
98 | relative to the source URL, or leave them blank to disable | |
|
99 | autodetection. | |
|
99 | 100 | |
|
100 | 101 | --config convert.svn.branches=branches (directory name) |
|
101 | 102 | specify the directory containing branches |
@@ -236,6 +236,8 b' class svn_source(converter_source):' | |||
|
236 | 236 | |
|
237 | 237 | def getcfgpath(name, rev): |
|
238 | 238 | cfgpath = self.ui.config('convert', 'svn.' + name) |
|
239 | if cfgpath is not None and cfgpath.strip() == '': | |
|
240 | return None | |
|
239 | 241 | path = (cfgpath or name).strip('/') |
|
240 | 242 | if not self.exists(path, rev): |
|
241 | 243 | if cfgpath: |
@@ -342,6 +344,9 b' class svn_source(converter_source):' | |||
|
342 | 344 | |
|
343 | 345 | def gettags(self): |
|
344 | 346 | tags = {} |
|
347 | if self.tags is None: | |
|
348 | return tags | |
|
349 | ||
|
345 | 350 | start = self.revnum(self.head) |
|
346 | 351 | try: |
|
347 | 352 | for entry in get_log(self.url, [self.tags], 0, start): |
@@ -84,7 +84,8 b' Convert a foreign SCM repository to a Me' | |||
|
84 | 84 | "svn://repo/path/tags" exists, it is looked for tags referencing |
|
85 | 85 | converted branches. Default "trunk", "branches" and "tags" values |
|
86 | 86 | can be overriden with following options. Set them to paths |
|
87 |
relative to the source URL |
|
|
87 | relative to the source URL, or leave them blank to disable | |
|
88 | autodetection. | |
|
88 | 89 | |
|
89 | 90 | --config convert.svn.branches=branches (directory name) |
|
90 | 91 | specify the directory containing branches |
General Comments 0
You need to be logged in to leave comments.
Login now