[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] current to-do items
From: |
Thom May |
Subject: |
Re: [Monotone-devel] current to-do items |
Date: |
Fri, 12 Sep 2003 11:24:59 +0100 |
User-agent: |
Mutt/1.5.4i |
* Nathaniel Smith (address@hidden) wrote :
> On Thu, Sep 11, 2003 at 05:40:25PM -0400, graydon hoare wrote:
> > Nathaniel Smith <address@hidden> writes:
> >
> > > Do you mean that monotone should be like CVS in always putting
> > > checkouts into a subdirectory (controllable in CVS with the -d
> > > switch, defaulting to the module name -- maybe monotone could default
> > > to the branch name?)? Or are you complaining about all source
> > > monotone files living in the root of the project directory instead of
> > > in src/ or something? Both of these seem like things worth fixing,
> > > but I'm not quite following you :-)
> >
> > I think njs has spotted this one correctly: the problem is not with
> > keeping MT in the directory with lots of files, but with the behavior
> > of checkout. even if there's a lot of crap at the top level of your
> > manifest, checkout shouldn't scatter a bunch of files in cwd. how
> > about expanding the command syntax to handle three cases:
> >
> > 2 args: monotone checkout <id> <dirname>
> > create dirname, cd to it, checkout <id>
> >
> > 1 arg: monotone checkout <id>
> > checkout <id> in current directory
>
> This makes it awfully easy to get junk scattered all over the place if
> you forget to put a second argument. Much better to not have this
> form at all, and let people who want this behaviour type a "." at the
> end.
>
Definitely agree with this; I have a whole slew of sourcefiles over a poor
unsuspecting directory because i was expecting cvs' behaviour - that
monotone would check out into a subdirectory.
Cheers
-Thom