[Top][All Lists]
[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
- [Monotone-devel] mtn copy anyone?, Ben Walton, 2007/08/16
- Re: [Monotone-devel] mtn copy anyone?, Nathaniel Smith, 2007/08/16
- Re: [Monotone-devel] mtn copy anyone?, Brian May, 2007/08/17
- Re: [Monotone-devel] mtn copy anyone?, Ben Walton, 2007/08/17
- Re: [Monotone-devel] mtn copy anyone?, Ethan Blanton, 2007/08/17
- Re: [Monotone-devel] mtn copy anyone?, Markus Schiltknecht, 2007/08/18
- Re: [Monotone-devel] mtn copy anyone?, Ben Walton, 2007/08/19
- Re: [Monotone-devel] mtn copy anyone?, Markus Schiltknecht, 2007/08/20
- Re: [Monotone-devel] mtn copy anyone?,
Justin Patrin <=