##// END OF EJS Templates
convert: missing p4 tool is only slightly fatal...
Mads Kiilerich -
r7905:d596b1f2 default
parent child Browse files
Show More
@@ -28,7 +28,7 b' class p4_source(converter_source):'
28 def __init__(self, ui, path, rev=None):
28 def __init__(self, ui, path, rev=None):
29 super(p4_source, self).__init__(ui, path, rev=rev)
29 super(p4_source, self).__init__(ui, path, rev=rev)
30
30
31 checktool('p4')
31 checktool('p4', abort=False)
32
32
33 self.p4changes = {}
33 self.p4changes = {}
34 self.heads = {}
34 self.heads = {}
@@ -44,3 +44,7 b' echo % test pre and post conversion acti'
44 echo 'include b' > filemap
44 echo 'include b' > filemap
45 hg convert --debug --filemap filemap a partialb | \
45 hg convert --debug --filemap filemap a partialb | \
46 grep 'run hg'
46 grep 'run hg'
47
48 echo % converting empty dir should fail "nicely"
49 mkdir emptydir
50 PATH=$BINDIR hg convert emptydir 2>&1 | sed 's,file://.*/emptydir,.../emptydir,g'
@@ -226,3 +226,16 b' run hg source pre-conversion action'
226 run hg sink pre-conversion action
226 run hg sink pre-conversion action
227 run hg sink post-conversion action
227 run hg sink post-conversion action
228 run hg source post-conversion action
228 run hg source post-conversion action
229 % converting empty dir should fail nicely
230 assuming destination emptydir-hg
231 initializing destination emptydir-hg repository
232 emptydir does not look like a CVS checkout
233 emptydir does not look like a Git repo
234 .../emptydir does not look like a Subversion repo
235 emptydir is not a local Mercurial repo
236 emptydir does not look like a darcs repo
237 cannot find required "mtn" tool
238 emptydir does not look like a GNU Arch repo
239 emptydir does not look like a Bazaar repo
240 cannot find required "p4" tool
241 abort: emptydir: missing or unsupported repository
General Comments 0
You need to be logged in to leave comments. Login now