##// END OF EJS Templates
Merge with crew
Matt Mackall -
r5366:ff32b272 merge default
parent child Browse files
Show More
@@ -58,7 +58,7 b' class darcs_source(converter_source):'
58
58
59 def after(self):
59 def after(self):
60 self.ui.debug('cleaning up %s\n' % self.tmppath)
60 self.ui.debug('cleaning up %s\n' % self.tmppath)
61 #shutil.rmtree(self.tmppath, ignore_errors=True)
61 shutil.rmtree(self.tmppath, ignore_errors=True)
62
62
63 def _run(self, cmd, *args, **kwargs):
63 def _run(self, cmd, *args, **kwargs):
64 cmdline = 'darcs %s --repodir=%r %s </dev/null' % (
64 cmdline = 'darcs %s --repodir=%r %s </dev/null' % (
@@ -74,8 +74,8 b' class darcs_source(converter_source):'
74 def checkexit(self, status, output=''):
74 def checkexit(self, status, output=''):
75 if status:
75 if status:
76 if output:
76 if output:
77 ui.warn(_('darcs error:\n'))
77 self.ui.warn(_('darcs error:\n'))
78 ui.warn(output)
78 self.ui.warn(output)
79 msg = util.explain_exit(status)[0]
79 msg = util.explain_exit(status)[0]
80 raise util.Abort(_('darcs %s') % msg)
80 raise util.Abort(_('darcs %s') % msg)
81
81
@@ -38,7 +38,8 b' echo % commit new file revisions'
38 cd src
38 cd src
39 echo a >> a
39 echo a >> a
40 echo c >> b/c
40 echo c >> b/c
41 cvs -q commit -mci1 . | sed -e 's:.*src/\(.*\),v:src/\1,v:g'
41 cvs -q commit -mci1 . | grep '<--' |\
42 sed -e 's:.*src/\(.*\),v.*:checking in src/\1,v:g'
42 cd ..
43 cd ..
43
44
44 echo % convert again
45 echo % convert again
@@ -21,10 +21,8 b' updating tags'
21 a
21 a
22 c
22 c
23 % commit new file revisions
23 % commit new file revisions
24 src/a,v <-- a
24 checking in src/a,v
25 new revision: 1.2; previous revision: 1.1
25 checking in src/b/c,v
26 src/b/c,v <-- b/c
27 new revision: 1.2; previous revision: 1.1
28 % convert again
26 % convert again
29 destination src-hg is a Mercurial repository
27 destination src-hg is a Mercurial repository
30 connecting to cvsrepo
28 connecting to cvsrepo
General Comments 0
You need to be logged in to leave comments. Login now