[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Eric goes to lunch -- a decentralized-development user story

From: Eric S. Raymond <esr_at_thyrsus.com>
Date: 2004-09-27 23:56:34 CEST

Benjamin Pflugmann <benjamin-svn-dev@pflugmann.de>:
> Well, having had some days to let sink it in, I think the local-repo
> option has a more realistic chance to become implemented, as any
> change to libsvn_wc (and my suggestion would need those), will have a
> hard time to be accepted.
> > I'm listening and my mind is open, however.
> Well, since both our ideas would benefit from a specification of
> history diffs, we could take a step back and start with creating some
> fundament.

I went off and did some research. Among other things, I ran my eyeballs
over some dump files. I've learned that dump files don't normally contain diffs
at all -- when a node is changed in a revision, the revision contains
an entire copy of that node. (Of course the Subversion designers already
knew this.)

This isn't good for a history-diff format; simething like unified or
context diffs is better. The reason? Checking the context match can
help you spot clashes between what the diff expects and the actual state
of the code.

Accordingly, I'm reversing my previous contention. Dump files and history
diffs are *not* the same.

I'm now back to thinking that what we need is an action-diff format with
the following possible actions:

1. Apply diff
2. Add file
3. Delete file
4. Rename file
5. Set/clear property


6. Commit.

The "Commit" action would commit all diffs since the last commit action,
and could have a log message attached to it. Note: commits should be
timestamped and have a committer ID string (presumably a fully-qualified
developer@site.domain address) attached to them

		Eric S. Raymond
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 27 23:56:53 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.