bugmonotone - Bugs: bug #16321, some working copy operations fail...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #16321: some working copy operations fail in a renamed directory

Submitter:  Frank Limpert <limpus>
Submitted:  Tue 11 Apr 2006 11:16:35 AM UTC
   
 
Category:  working copy Severity:  3 - Normal
Item Group:  incorrect behavior Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
mtn version --full: 

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

Fri 09 May 2008 08:39:12 AM UTC, comment #1: 

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

  1. 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

xenical, propecia, clomid, buy viagra online

Anonymous
Tue 11 Apr 2006 11:16:35 AM UTC, original submission:  

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'

Frank Limpert <limpus>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-cf05.
Corresponding source code