[issue1024] can't clone from a bundle - help misleading

Stephen Deasey mercurial-bugs at selenic.com
Sat Mar 8 12:18:52 CST 2008


New submission from Stephen Deasey <sdeasey at gmail.com>:

The help for clone suggests I should be able to clone from a bundle:

$ hg help clone
    ...
    See pull for valid source format details.
    ...

$ hg help pull
    ...
    Valid URLs are of the form:

      local/filesystem/path (or file://local/filesystem/path)
    ...
    Paths in the local filesystem can either point to Mercurial
    repositories or to bundle files...

(the following bundles are full).

$ hg clone some.bundle some-hg
abort: repository  not found!

$ hg clone file://some.bundle some-hg
abort: repository  not found!

$ hg clone bundle://some.bundle some-hg
abort: repository  not found!

$ hg -R some.bundle log -r tip
abort: repository  not found!


Ideally it should be possible to clone from a complete bundle (including a
bundle hosted via http). Alternatively the help could be clearer.

(tested with tip as of just now)

----------
messages: 5482
nosy: sdeasey
priority: bug
status: unread
title: can't clone from a bundle - help misleading

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1024>
____________________________________________________



More information about the Mercurial-devel mailing list