Could not reproduce on Windows Vista using powershell with darcs 2.7.98.3 (+ 1 patch)
Note I used 'darcs' at first (2.5.2 (release)) and later redid the test with darcs.exe which is the freshly built one.
PS D:\darcs\branch-2.8\t> .\darcs.exe init
WARNING: creating a nested repository.
PS D:\darcs\branch-2.8\t> ls
Directory: D:\darcs\branch-2.8\t
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2012-02-09 23:38 _darcs
-a--- 2012-02-09 23:35 16915650 darcs.exe
PS D:\darcs\branch-2.8\t> touch a.txt
PS D:\darcs\branch-2.8\t> .\darcs.exe add .\a.txt
PS D:\darcs\branch-2.8\t> .\darcs.exe record
Each patch is attributed to its author, usually by email address (for
example, `Fred Bloggs <fred@example.net>'). Darcs could not determine
your email address, so you will be prompted for it.
Your address will be stored in _darcs/prefs/author.
It will be used for all patches recorded in this repository.
If you move that file to %APPDATA%\darcs\author, it will be used for patches
you record in ALL repositories.
What is your email address? Adam Wolk <netprobe@gmail.com>
addfile ./a.txt
Shall I record this change? (1/1) [ynW...], or ? for more options: y
What is the patch name? empty file
Do you want to add a long comment? [yn]n
Finished recording patch 'empty file'
PS D:\darcs\branch-2.8\t> ls
Directory: D:\darcs\branch-2.8\t
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2012-02-09 23:55 _darcs
----- 2012-02-09 23:38 0 a.txt
-a--- 2012-02-09 23:35 16915650 darcs.exe
PS D:\darcs\branch-2.8\t> mkdir txt
Directory: D:\darcs\branch-2.8\t
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2012-02-09 23:55 txt
PS D:\darcs\branch-2.8\t> darcs add txt
PS D:\darcs\branch-2.8\t> darcs record
adddir ./txt
Shall I record this change? (1/1) [ynW...], or ? for more options: y
What is the patch name? Adding a directory
Do you want to add a long comment? [yn]n
Finished recording patch 'Adding a directory'
PS D:\darcs\branch-2.8\t> darcs mv .\a.txt .\txt
PS D:\darcs\branch-2.8\t> ls .\txt
Directory: D:\darcs\branch-2.8\t\txt
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 2012-02-09 23:38 0 a.txt
PS D:\darcs\branch-2.8\t> darcs mv .\txt\a.txt .
PS D:\darcs\branch-2.8\t> ls
Directory: D:\darcs\branch-2.8\t
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2012-02-09 23:56 txt
d---- 2012-02-09 23:56 _darcs
-a--- 2012-02-09 23:38 0 a.txt
-a--- 2012-02-09 23:35 16915650 darcs.exe
PS D:\darcs\branch-2.8\t>
PS D:\darcs\branch-2.8\t> .\darcs.exe mv .\a.txt .\txt
PS D:\darcs\branch-2.8\t> ls .\txt
Directory: D:\darcs\branch-2.8\t\txt
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 2012-02-09 23:38 0 a.txt
PS D:\darcs\branch-2.8\t> .\darcs.exe mv .\txt\a.txt .
PS D:\darcs\branch-2.8\t> ls
Directory: D:\darcs\branch-2.8\t
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 2012-02-09 23:59 txt
d---- 2012-02-09 23:59 _darcs
-a--- 2012-02-09 23:38 0 a.txt
-a--- 2012-02-09 23:35 16915650 darcs.exe
|