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

Re: networking repositories

From: Rafael Garcia-Suarez <rgarciasuarez_at_free.fr>
Date: 2002-10-27 21:29:18 CET

Peter Davis wrote:
> > Have each repository setup with a post-commit hook that writes the
> > diffs for that commit out to a file (like the commit-email.pl that we
> > use on svn.collab.net). Then, when you need to sync, you apply the
> > changes from, say, your laptop's repos to your desktop's working copy,
> > and commit them up (and vice-versa).
>
> Is there a reason why the answer to distributed repositories is not as simple
> as this? Could not Subversion (or somebody with some free time) provide an
> "official" tool to create, manage, and apply such patches?

A quick list of problems with traditional patches (i.e. diff(1) output)
  * metadata (properties)
  * log messages
  * binary files
  * deletion of directories
  * addition of empty files
  * platform-dependent line-endings (ie. with svn:eol-style=native)
  * svn cp
Thus you'll need to add metadata in the output, and have the import
program correctly interpret this. (but it'd be great!)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 27 21:30:09 2002

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.