Can't copy directory - is this a win32 issue?

Alexis S. L. Carvalho alexis.carvalho at gmail.com
Thu Nov 16 10:45:11 CST 2006


Thus spake Andrei Vermel:
> I am trying to rename a directory (on winXP, using the latest prebuilt 
> version - Mercurial-0.9.1-a27d90c9336e.exe), and it doesn't work.
> Is this not supported yet, or it's something due to win32?
> 
> u:\temp\qqq>hg manifest | grep OpenDWG
> e3d0bff73481e8da1792da07afc18eef9bc511e2 644 OpenDWG/Crypt/WinNTCrypt.cpp
> 3b6cd8fb39266ab48bb12999a988bd4282db9575 644 OpenDWG/Crypt/WinNTCrypt.h
> .....
> 
> mkdir app
> u:\temp\qqq>hg copy -n OpenDWG app
> abort: no files to copy

This is the same problem as http://www.selenic.com/mercurial/bts/issue303 .

A temporary workaround (which is still not perfect) is to use

hg copy -n relpath:OpenDWG app

Alexis


More information about the Mercurial mailing list