[issue1626] Using hg convert on bzr repository doesn't preserve symlinks

Ryan mercurial-bugs at selenic.com
Thu Apr 23 17:01:29 CDT 2009


New submission from Ryan <ryankanno at gmail.com>:

Using hg convert on a bzr repository with symlinks doesn't preserve the symlinks
from bzr.  I'm currently running crew-stable.

Steps to reproduce the bug:

constructicons:test ryankanno$ mkdir bzr-test
constructicons:test ryankanno$ cd bzr-test
constructicons:bzr-test ryankanno$ bzr init
constructicons:bzr-test ryankanno$ ln -s ../js/ js
constructicons:bzr-test ryankanno$ bzr add
added js
constructicons:bzr-test ryankanno$ bzr commit -m "Added js symlink to js directory"
Committing to: /Users/ryankanno/Projects/test/bzr-test/
added js
Committed revision 1.
constructicons:bzr-test ryankanno$ hg convert -s bzr . ../hg-test
initializing destination ../hg-test repository
scanning source...
sorting...
converting...
0 Added js symlink to js directory
constructicons:bzr-test ryankanno$ cd ../hg-test
constructicons:hg-test ryankanno$ hg update
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
constructicons:hg-test ryankanno$ ls -al
total 0
drwxr-xr-x   4 ryankanno  ryankanno  136 Apr 23 11:55 .
drwxr-xr-x  14 ryankanno  ryankanno  476 Apr 23 11:55 ..
drwxr-xr-x  11 ryankanno  ryankanno  374 Apr 23 11:55 .hg
-rw-r--r--   1 ryankanno  ryankanno    0 Apr 23 11:55 js
constructicons:hg-test ryankanno$

----------
messages: 9169
nosy: ryankanno
priority: bug
status: unread
title: Using hg convert on bzr repository doesn't preserve symlinks
topic: convert

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



More information about the Mercurial-devel mailing list