[issue2714] Inconsistent behavior for cloning to local and remote repos

Vincent Harvey bugs at mercurial.selenic.com
Fri Mar 18 15:16:13 UTC 2011


New submission from Vincent Harvey <vharvey at janestreet.com>:

Mercurial does not allow cloning to a local directory that isn't empty, but
does allow this when cloning to a remote directory

[11:03:40 vharvey at nyc-qws-015 /tmp]$ hg clone /tmp/test_hg_clone/ /tmp
abort: destination '/tmp' is not empty
[11:05:20 vharvey at nyc-qws-015 /tmp]$ hg clone /tmp/test_hg_clone/
ssh://nyc-qws-015//tmp
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 2 changes to 2 files

----------
messages: 15739
nosy: vharveyjs
priority: bug
status: unread
title: Inconsistent behavior for cloning to local and remote repos

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


More information about the Mercurial-devel mailing list