git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McFarland <pmcfarland@downeast.net>
To: darcs-devel@darcs.net
Cc: Kevin Smith <yarcs@qualitycode.com>,
	Ray Lee <ray-lk@madrabbit.org>,
	git@vger.kernel.org
Subject: Re: [darcs-devel] Darcs and git: plan of action
Date: Tue, 19 Apr 2005 18:08:20 -0400	[thread overview]
Message-ID: <200504191808.26559.pmcfarland@downeast.net> (raw)
In-Reply-To: <4264677A.9090003@qualitycode.com>

[-- Attachment #1: Type: text/plain, Size: 1295 bytes --]

On Monday 18 April 2005 10:05 pm, Kevin Smith wrote:
> The big feature of a darcs replace patch is that it works forward and
> backward in time. Let me try to come up with an example that can help
> explain it. Hopefully I'll get it right. Let's start with a file like
> this that exists in a project for which both you and I have darcs repos:
>
> cat
> dog
> fish
>
> Now, you change it to:
>
> cat dog
> dog
> fish
>
> while I simultaneously do a replace of "dog" with "plant", resulting in:
>
> cat
> plant
> fish
>
> We merge. The final result in both of our trees is:
>
> cat plant
> plant
> fish
>
> Notice that just by looking at my diffs, you can't tell that I used a
> replace operation. I didn't just replace the instances of "dog" that
> were in my file at that moment. I conceptually replaced all instances,
> including ones that aren't there yet.

I think that's the best explanation of how it works. And that is partially why 
darcs is so powerful.

-- 
Patrick "Diablo-D3" McFarland || pmcfarland@downeast.net
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd 
all be running around in darkened rooms, munching magic pills and listening to
repetitive electronic music." -- Kristian Wilson, Nintendo, Inc, 1989

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-04-19 22:05 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
2005-04-19  1:42     ` Ray Lee
2005-04-19  2:05       ` Kevin Smith
2005-04-19 22:08         ` Patrick McFarland [this message]
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=200504191808.26559.pmcfarland@downeast.net \
    --to=pmcfarland@downeast.net \
    --cc=darcs-devel@darcs.net \
    --cc=git@vger.kernel.org \
    --cc=ray-lk@madrabbit.org \
    --cc=yarcs@qualitycode.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).