[PATCH 0 of 1] Fix for "abort: cannot find required "p4" tool"

Mads Kiilerich mads at kiilerich.com
Fri Mar 27 07:40:02 CDT 2009


Context:

[mk at dev-mk tmp]$ mkdir X

Old bogus behaviour:

[mk at dev-mk tmp]$ /home/mk/src/hg/hg convert X
assuming destination X-hg
initializing destination X-hg repository
abort: cannot find required "p4" tool

New and more correct behaviour:

[mk at dev-mk tmp]$ /home/mk/src/hg/hg convert X
assuming destination X-hg
initializing destination X-hg repository
X does not look like a CVS checkout
X does not look like a Git repo
file:///tmp/X does not look like a Subversion repo
X is not a local Mercurial repo
X does not look like a darcs repo
cannot find required "mtn" tool
X does not look like a GNU Arch repo
X does not look like a Bazaar repo
cannot find required "p4" tool
abort: X: missing or unsupported repository
[mk at dev-mk tmp]$ 

The "cannot find required ... tool" messages are still confusing - but that is another issue ;-)

The options and behaviour of hgext.convert.checktool looks like candidates for a cleanup.



More information about the Mercurial-devel mailing list