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'
|