[issue1215] hg convert should check for non-existent source
Charles Anderson
mercurial-bugs at selenic.com
Sun Jul 6 18:02:00 CDT 2008
New submission from Charles Anderson <master.sparkle at gmail.com>:
If the source directory for an hg convert operation does not exist (or you
mistype the name), there is no error message to that effect, just a bunch of
"does not look like..." messages as convertsource() iterates through all of the
converters. For example:
% ls
% hg convert foo
assuming destination foo-hg
initializing destination foo-hg repository
foo does not look like a CVS checkout
foo does not look like a Git repo
foo does not look like a Subversion repo
foo is not a local Mercurial repo
foo does not look like a darcs repo
foo does not look like a monotone repo
foo does not look like a GNU Arch repo
abort: foo: unknown repository type
The problem is not "unknown repository type" but rather "non-existent repository."
----------
messages: 6480
nosy: cander
priority: bug
status: unread
title: hg convert should check for non-existent source
topic: convert
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1215>
____________________________________________________
More information about the Mercurial-devel
mailing list