monotone

Issue 41: some working copy operations fail in a renamed directory

Reported by Unknown User, Apr 11, 2006

(This entry was imported from the savannah tracker, original 
location: https://savannah.nongnu.org/bugs/index.php?16321)

Reverting a file does not work if this file is placed in a directory 
that got renamed. It is only possible to revert that file into its 
original directory, what creates that very directory again.

C:\home\test>mtn status

format_version "1"

new_manifest [83ba18ddf81a89f8f7196774d889db95f988517f]

old_revision [752bfbaaa41b1f0c948752ed9fdef01a7f0c32ac]

rename "xyz/050715"
    to "xyz/050715-c"

patch "xyz/050715-c/TestLogs3.1/TestFile1.xml"
 from [0cc072cad4c3a95454434349e269a33cecf498bb]
   to [fd9c2f5b082e561d70dbae799b763e3fcfc1953a]


C:\home\test>mtn revert xyz/050715-c/TestLogs3.1/TestFile1.xml
mtn: misuse: unknown path 'xyz/050715-c/TestLogs3.1/TestFile1.xml'

C:\home\test>mtn revert xyz/050715/TestLogs3.1/TestFile1.xml
mtn: reverting xyz/050715/TestLogs3.1/TestFile1.xml

C:\home\test>cd xyz

C:\home\test\xyz>dir 05071*
 Directory C:\home\test\xyz

11.04.2006  12:49       <DIR>          050715
11.04.2006  11:44       <DIR>          050715-c
               0 Datei(en)              0 Bytes
               2 Directories,  31.642.578.944 Bytes free


Though the following file is known to monotone, a status command 
issued in it's directory fails:

C:\home\test\xyz>cd 050715-c

C:\home\test\xyz\050715-c>mtn list known | findstr 050715
xyz/050715-c
...
xyz/050715-c/TestLogs.zip
...
xyz/050715-c/TestLogs3.1
xyz/050715-c/TestLogs3.1/TestFile1.xml
...

C:\home\test\xyz\050715-c>mtn status TestLogs.zip
mtn: misuse: unknown path 'xyz/050715-c/TestLogs.zip'


monotone version:
-----------------
monotone 0.26 (base revision: unknown)
Running on          : Windows NT/2000/XP (5.0, build 2195) on ia32 
(level 15, rev 521)
C++ compiler        : GNU C++ version 3.4.5 (mingw special)
C++ standard library: GNU libstdc++ version 20051201
Boost version       : 1_33_1
Changes since base revision:
unknown

Comment 1 by Unknown User, May 9, 2008

C:\home\test>cd xyz


C:\home\test\xyz>dir 05071*
Directory C:\home\test\xyz


11.04.2006 12:49 <DIR> 050715
11.04.2006 11:44 <DIR> 050715-c
0 Datei(en) 0 Bytes
2 Directories, 31.642.578.944 Bytes free


Though the following file is known to monotone, a status command 
issued in it's directory fails:


C:\home\test\xyz>cd 050715-c


C:\home\test\xyz\050715-c>mtn list known | findstr 050715
xyz/050715-c
...
xyz/050715-c/TestLogs.zip

[http://www.youtube.com/user/KristinOrlistat xenical], [
http://www.youtube.com/user/thepropecia propecia], [
http://www.youtube.com/user/CindyGarman clomid], [
http://www.youtube.com/JackGillOnline buy viagra online]

Created: 18 years 15 days ago by Unknown User

Updated: 15 years 11 months ago

Status: New

Labels:
Type:Incorrect Behavior
Component:Working Copy
Priority:Medium

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status