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

RE: Working with Subversion in an unversioned environment

From: Alexandre Reis <alexandre.reis_at_datasul.com.br>
Date: 2005-05-02 14:39:15 CEST


Unfortunately there are some MS Word and Excel documents being versioned as
well, so a text-only diff wouldn't work, but it's quite a good approach.

I wonder if there is a version of "patch" for windows though... Maybe cygwin
might have it.

As for the post-commit hook, I'm not good with batch files at all, anyone
has got and example that parses the output of "svn status" and does
something with the modified or unversioned files?


Alexandre M. Reis
Analista de Sistemas
Datasul Paranaense
(41) 2105-5977
(41) 8801-9154

-----Original Message-----
From: Ph. Marek [mailto:philipp.marek@bmlv.gv.at]
Sent: Friday, April 29, 2005 1:59 AM
To: users@subversion.tigris.org
Cc: Alexandre Reis
Subject: Re: Working with Subversion in an unversioned environment

On Friday 29 April 2005 06:42, Alexandre Reis wrote:
> *Bumps*
> Anyone has comments on this matter?
If you're only dealing with text-files, I'd suggest using "svn diff -r
HEAD-1:HEAD REPOS-URL | patch" in a post-commit hook - in case two people
modify the same file.

Otherwise a post-commit-hook should work. See
http://svnbook.red-bean.com/en/1.1/ch05s02.html and

If you're using windows I believe they should be implemented as batch-files.

Hope that helps!



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 2 14:43:43 2005

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

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