monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] mtn copy anyone?


From: Justin Patrin
Subject: Re: [Monotone-devel] mtn copy anyone?
Date: Fri, 17 Aug 2007 12:30:27 -0700

On 8/16/07, Nathaniel Smith <address@hidden> wrote:
> On Thu, Aug 16, 2007 at 09:43:10AM -0400, Ben Walton wrote:
> > A project that I'm currently working on (machine inventory) has me
> > doing a fair amount of cp foo bar; mtn add bar; edit bar to match the
> > new machine; lather; rinse; repeat.  I'm not sure if it's been
> > discussed before, but what are peoples' thoughts about mtn copy?
>
> Well, it's trivial to add a command called "mtn copy" (or "mtn cp").
> The question is what it should do :-).
>
> It could just be equivalent to "cp foo bar; mtn add bar".
> It could somehow record something special in the history.  This
> special thing could be nothing but a bit of metadata that was exactly
> equivalent to an add for history tracking purposes, but that, say,
> 'log' and 'annotate' did something smarter with.  Or it could actually
> affect the history model -- then there are questions like how it works
> through merging.  This is unclear too; there are a few alternative,
> contradictory "natural" semantics for copy WRT merge.  (There's a
> little about this at http://www.venge.net/mtn-wiki/HistoryBlueSky.)
>
> The general messiness here is why we've stayed out of it so far.
>

I remember a recent thread going through all (or most) of the
potential problems and proposing solutions....I thought that the
discussion had essentially come to an agreement.

-- 
Justin Patrin




reply via email to

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