Show More
@@ -70,10 +70,10 b' class mercurial_sink(converter_sink):' | |||
|
70 | 70 | self.wlock.release() |
|
71 | 71 | |
|
72 | 72 | def revmapfile(self): |
|
73 |
return |
|
|
73 | return self.repo.join("shamap") | |
|
74 | 74 | |
|
75 | 75 | def authorfile(self): |
|
76 |
return |
|
|
76 | return self.repo.join("authormap") | |
|
77 | 77 | |
|
78 | 78 | def getheads(self): |
|
79 | 79 | h = self.repo.changelog.heads() |
@@ -364,8 +364,7 b' class mercurial_source(converter_source)' | |||
|
364 | 364 | |
|
365 | 365 | def converted(self, rev, destrev): |
|
366 | 366 | if self.convertfp is None: |
|
367 |
self.convertfp = open( |
|
|
368 | 'a') | |
|
367 | self.convertfp = open(self.repo.join('shamap'), 'a') | |
|
369 | 368 | self.convertfp.write('%s %s\n' % (destrev, rev)) |
|
370 | 369 | self.convertfp.flush() |
|
371 | 370 |
@@ -27,7 +27,7 b' Explicit --authors' | |||
|
27 | 27 | sorting... |
|
28 | 28 | converting... |
|
29 | 29 | 0 foo |
|
30 | Writing author map file new/.hg/authormap | |
|
30 | Writing author map file $TESTTMP/new/.hg/authormap | |
|
31 | 31 | $ cat new/.hg/authormap |
|
32 | 32 | user name=Long User Name |
|
33 | 33 | $ hg -Rnew log |
@@ -44,7 +44,7 b' Implicit .hg/authormap' | |||
|
44 | 44 | $ hg init new |
|
45 | 45 | $ mv authormap.txt new/.hg/authormap |
|
46 | 46 | $ hg convert orig new |
|
47 | Ignoring bad line in author map file new/.hg/authormap: this line is ignored | |
|
47 | Ignoring bad line in author map file $TESTTMP/new/.hg/authormap: this line is ignored | |
|
48 | 48 | scanning source... |
|
49 | 49 | sorting... |
|
50 | 50 | converting... |
General Comments 0
You need to be logged in to leave comments.
Login now