You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Alexandre Reis <al...@datasul.com.br> on 2005/05/02 12:39:15 UTC

RE: Working with Subversion in an unversioned environment

Phil,

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?

Cheers,

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 
http://subversion.tigris.org/faq.html.

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


Hope that helps!


Regards,

Phil


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org