monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Re: mtn add weirdness


From: Koen Kooi
Subject: [Monotone-devel] Re: mtn add weirdness
Date: Sun, 06 Aug 2006 12:51:28 +0200
User-agent: Thunderbird 1.5.0.5 (Macintosh/20060719)

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

Bruce Stephens schreef:
> Koen Kooi <address@hidden> writes:
> 
>> Nathaniel Smith schreef:
> 
> [...]
> 
>>> So, umm... you did in fact tell monotone to commit just the addition
>>> of the .bb file, and not the addition of the directory containing it.
>>> For obvious (I think?) reasons, that Just Can't Be Done :-).
>> Can you say 'broken behaviour'?
> 
> How is it broken?  Monotone's not alone in behaving this way;
> subversion certainly does, for example.

I absolutely *hate* subversion and its messed up UI, so your argument
only worsens the case for me.

>>> Would a different error message have made this more clear?  Is there
>>> some other behavior you would have preferred?
>> I think the preferred behaviour is obvious: the file and its
>> 'dependencies' are committed to the db.
> 
> I can't see that would cause particular problems.  I must admit the
> current behaviour also feels quite logical.

It isn't:

mtn add dir/dir2/dir3/foo.file -> adds file + dirs
mtn commit dir/dir2/dir3/foo.file -> errors out

To make it logical either 'mtn add' needs to stop recursing, or 'mtn
commit' needs to the include subdirs. Can you think of a valid use-case
where I'd want to add the file but not the dirs?

regards,

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

iD8DBQFE1cmwMkyGM64RGpERAuldAJ9xR8V/Q2TyqfyRVDFxKXP+1tGI8wCeMxzR
hqeb7Ada+LHRFCVK2FppPhQ=
=qvqQ
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]