All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Smith <yarcs@qualitycode.com>
To: Ray Lee <ray-lk@madrabbit.org>
Cc: git@vger.kernel.org, darcs-devel@darcs.net
Subject: Re: [darcs-devel] Darcs and git: plan of action
Date: Mon, 18 Apr 2005 21:05:45 -0400	[thread overview]
Message-ID: <42645969.2090609@qualitycode.com> (raw)
In-Reply-To: <1113869248.23938.94.camel@orca.madrabbit.org>

Ray Lee wrote:
> On Mon, 2005-04-18 at 21:04 +0000, linux@horizon.com wrote:
> 
>>The other is "replace very instace of identifier `foo` with identifier`bar`".
> 
> 
> That could be derived, however, by a particularly smart parser [1].

No, it can't. Seriously. A darcs replace patch is encoded as rules, not
effects, and it is impossible to derive the rules just by looking at the
results. Not difficult. Impossible. You could guess, but that's not good
enough for darcs to be able to reliably commute the patches later.

I am curious whether Linus's suggestion about including the
corresponding darcs patch id in the git commit comments would be good
enough.

> As for "darcs mv", that can be derived from the before/after pictures of
> the trees.

Perhaps. If a file is moved and edited within the same commit, I'm not
sure that you can be certain whether it was done with d 'darcs mv' or
not. Requiring separate checkins for the rename and the subsequent
modify would make things easier on SCM's, but is impractical in real
life. Automated refactoring tools, for example, perform the
rename+modify as an atomic operation.

Now, git might not need to deal with any of this, because it only needs
to work with the kernel project. But darcs does have to deal with this
wide range of uses, as does just about any other SCM.

I'm *not* advocating cluttering up git with features that are not
directly needed for kernel development. I'm just trying to clarify the
facts so everyone can understand what darcs is trying to do.

Kevin

  reply	other threads:[~2005-04-19  1:02 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-18 21:04 [darcs-devel] Darcs and git: plan of action linux
2005-04-19  0:07 ` Ray Lee
2005-04-19  1:05   ` Kevin Smith [this message]
2005-04-19  1:42     ` Ray Lee
2005-04-19  2:05       ` Kevin Smith
2005-04-19 22:08         ` Patrick McFarland
2005-04-19 22:40         ` Ray Lee
2005-04-19 23:00           ` Tupshin Harper
2005-04-19 23:21             ` Ray Lee
2005-04-19 23:38               ` Tupshin Harper
2005-04-19 23:03           ` [darcs-devel] " Kevin Smith
2005-04-19 23:06             ` Ray Lee
2005-04-19 23:32               ` Tupshin Harper
2005-04-20  1:11                 ` [darcs-devel] " Ray Lee
2005-04-20  7:52                   ` Juliusz Chroboczek
2005-04-20 11:55                   ` David Roundy
2005-04-20 17:11               ` Ralph Corderoy
2005-04-19 11:05       ` David Roundy
     [not found] <20050419235832.56117.qmail@web51003.mail.yahoo.com>
2005-04-20  7:55 ` Juliusz Chroboczek
     [not found] <7ivf6lm594.fsf@lanthane.pps.jussieu.fr>
2005-04-18 12:20 ` David Roundy
2005-04-18 15:38   ` Linus Torvalds
2005-04-19 10:42     ` [darcs-devel] " David Roundy
2005-04-19 14:55       ` Linus Torvalds
2005-04-19 16:33         ` [darcs-devel] " Tupshin Harper
2005-04-19 16:49           ` Linus Torvalds
2005-04-18 18:35   ` Ray Lee
2005-04-19  0:55   ` Juliusz Chroboczek
2005-04-19  1:43     ` [darcs-devel] " Ray Lee
2005-04-19  8:22       ` Juliusz Chroboczek
2005-04-20  1:22         ` Ray Lee
2005-04-19 11:04     ` David Roundy
2005-04-19 12:20       ` Juliusz Chroboczek
2005-04-19 12:25         ` [darcs-devel] " Petr Baudis
2005-04-20 11:18           ` David Roundy
2005-04-20 11:29         ` David Roundy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42645969.2090609@qualitycode.com \
    --to=yarcs@qualitycode.com \
    --cc=darcs-devel@darcs.net \
    --cc=git@vger.kernel.org \
    --cc=ray-lk@madrabbit.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.