[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Re: mtn add weirdness
From: |
Bruce Stephens |
Subject: |
[Monotone-devel] Re: mtn add weirdness |
Date: |
Sun, 06 Aug 2006 13:10:59 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Nathaniel Smith <address@hidden> writes:
[...]
> To be clear -- the reason it works the way it does is that you added
> two files. Then, by using a restriction, you told monotone to
> commit just one of them and not the other. Since it is not possible
> to do that, monotone complained, and the solution is to simply tell
> monotone that, oh, actually, I do want to commit both of those
> files, not just one of them.
>
> Possibly an exception should be made to these rules where
> dependencies are involved; dunno. See below.
[...]
> Regarding the idea of automatically including dependencies, what do
> you think about the case:
> $ mtn drop bar
> $ mtn rename foo bar
> $ mtn commit foo
> Should monotone automatically commit the deletion of "bar"? It can't
> commit the rename otherwise.
Well, no. However, it does seem a bit odd that
$ mtn add foo/bar.c
and
$ cd foo; mtn add bar.c
behave differently. Not *very* odd, but I don't think it would hurt
to make them act the same.
Another way of thinking about it is that the arguments you give to
"add" really aren't a restriction in quite the same way as for
"commit": they're just naming files and directories.
I think that's the case, anyway, so I don't think there's danger of
confusion if they behave a little differently?
- Re: [Monotone-devel] mtn add weirdness, (continued)
- Re: [Monotone-devel] mtn add weirdness, Nathaniel Smith, 2006/08/05
- Re: [Monotone-devel] mtn add weirdness, Nathaniel Smith, 2006/08/05
- [Monotone-devel] Re: mtn add weirdness, Koen Kooi, 2006/08/05
- [Monotone-devel] Re: mtn add weirdness, Bruce Stephens, 2006/08/06
- [Monotone-devel] Re: mtn add weirdness, Koen Kooi, 2006/08/06
- Re: [Monotone-devel] Re: mtn add weirdness, Daniel Carosone, 2006/08/08
- Re: [Monotone-devel] Re: mtn add weirdness, Nathaniel Smith, 2006/08/09
- Re: [Monotone-devel] Re: mtn add weirdness, Daniel Carosone, 2006/08/09
- Re: [Monotone-devel] Re: mtn add weirdness, Nathaniel Smith, 2006/08/06
- [Monotone-devel] Re: mtn add weirdness,
Bruce Stephens <=
- Re: [Monotone-devel] Re: mtn add weirdness, Johan Bolmsjö, 2006/08/07
- [Monotone-devel] Re: mtn add weirdness, Koen Kooi, 2006/08/07
- Re: [Monotone-devel] Re: mtn add weirdness, Justin Patrin, 2006/08/07
- Re: [Monotone-devel] Re: mtn add weirdness, Jonathan S. Shapiro, 2006/08/07
- Re: [Monotone-devel] Re: mtn add weirdness, Nathaniel Smith, 2006/08/07
- [Monotone-devel] Re: mtn add weirdness, Bruce Stephens, 2006/08/07
- Re: [Monotone-devel] Re: mtn add weirdness, Nathaniel Smith, 2006/08/07