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

 
 

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

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

Submitted by:  Frank Limpert <limpus>
Submitted on:  Tue 11 Apr 2006 11:16:35 AM UTC  
 
Category: working copySeverity: 3 - Normal
Item Group: incorrect behaviorStatus: None
Privacy: PublicAssigned 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup