[issue653] Win32 Mercurial refuses to clone a repo with symlinks

Charles Samuels mercurial-bugs at selenic.com
Wed Jul 25 13:24:44 CDT 2007


New submission from Charles Samuels <charles at vmware.com>:

The win32 mercurial will try to clone a repository, but when it creates the 
files on disk, the implementation for symlink/win32 is missing and it aborts 
with the error below.

As Win32 doesn't support symlinks for files (except in Vista), and even then, 
it's not in any very usable form.

Another DRCS (I can't remember which) is having this exact same discussion 
right now, but I don't know the results.

---

requesting all changes
adding changesets
adding manifests
adding file changes
added 895 changesets with 3095 changes to 885 files
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version f48290864625+20070705)
Traceback (most recent call last):
  File "hg", line 11, in ?
  File "mercurial\commands.pyc", line 3127, in run
  File "mercurial\commands.pyc", line 3124, in dispatch
  File "mercurial\cmdutil.pyc", line 37, in runcatch
  File "mercurial\cmdutil.pyc", line 378, in dispatch
  File "mercurial\cmdutil.pyc", line 431, in runcommand
  File "mercurial\cmdutil.pyc", line 387, in checkargs
  File "mercurial\cmdutil.pyc", line 372, in <lambda>
  File "mercurial\commands.pyc", line 400, in clone
  File "mercurial\hg.pyc", line 227, in clone
  File "mercurial\hg.pyc", line 241, in _update
  File "mercurial\hg.pyc", line 246, in update
  File "mercurial\merge.pyc", line 557, in update
  File "mercurial\merge.pyc", line 415, in applyupdates
  File "mercurial\localrepo.pyc", line 466, in wwrite
AttributeError: 'module' object has no attribute 'symlink'

----------
messages: 3607
nosy: charles
priority: bug
status: unread
title: Win32 Mercurial refuses to clone a repo with symlinks

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



More information about the Mercurial-devel mailing list