-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Keller schreef:
> Koen Kooi wrote:
>> AFAIK that's only true for .25 and earlier, .26 and beyond seem to store
>>  entries for directories as well, since 'mkdir foo ; touch foo/bar ; mtn
>> add foo/bar' errors out with 'foo' being unknown (*very* annoying).
> 
> Its true that 0.26 and later version directories (and directory
> attributes), but mtn add will not error out:
> 
> $ mkdir baz
> $ touch baz/bam
> $ mtn add baz/bam
> mtn: adding baz/bam to workspace manifest
> $ mtn automate get_revision
> format_version "1"
> 
> new_manifest [1ca2fbd937097bfa2ca89ecf56a8a6c08b94f5c9]
> 
> old_revision [2e4f1f2036c4f40f9dced6b6eb309fab01686b71]
> 
> add_dir "baz"
> 
> add_file "baz/bam"
>  content [da39a3ee5e6b4b0d3255bfef95601890afd80709]

Try:

[EMAIL PROTECTED]:~/OE/monotone/org.openembedded.dev/packages/e17$ mkdir baz
[EMAIL PROTECTED]:~/OE/monotone/org.openembedded.dev/packages/e17$ cd baz/
[EMAIL PROTECTED]:~/OE/monotone/org.openembedded.dev/packages/e17/baz$ touch foo
[EMAIL PROTECTED]:~/OE/monotone/org.openembedded.dev/packages/e17/baz$ mtn
add baz
mtn: misuse: no such file or directory: 'packages/e17/baz/baz'

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFE057qMkyGM64RGpERAtTrAJ9MdSrbLSAqaA22Nis+SupfdAr06QCfdZpE
JauhFUyh4NQLmh3pLly70m0=
=ty0+
-----END PGP SIGNATURE-----



_______________________________________________
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to