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

Re: Preventing bad commits

From: Jamie Wellnitz <Jamie.Wellnitz_at_emulex.com>
Date: 2006-08-11 04:20:37 CEST

On Fri, Aug 11, 2006 at 04:05:01AM +0200, Andreas Schweigstill wrote:
> Dear Jamie!
>
> Jamie Wellnitz schrieb:
> >This probably depends heavily on what is in your repository. If it's
> >source code, or at least mostly plain text, you could have them send
> >out the output of "svn diff". This will generate a patch in unified
> >diff format, which you can look over or even apply locally.
>
> Unfortunately this doesn't handle changed on the meta-information
> correctly, like moves/renames, copies or attribute changes.

True it's not perfect, but in a lot of environments the changes will
be mostly text. That's the case with C source code, for instance. As
I said, it depends heavily on what is in the repository.

But, svn diff doesn't ignore all metadata:

% svn diff

Property changes on: aaa.c
___________________________________________________________________
Name: local:needs-work
   + lines 500-505

Property changes on: bbb.c
___________________________________________________________________
Name: svn:executable
   + *

>
> With best regards
> Andreas Schweigstill

Thanks,
        Jamie

>
> --
> Dipl.-Phys. Andreas Schweigstill
> Schweigstill IT | Embedded Systems
> Schauenburgerstraße 116, D-24118 Kiel, Germany
> Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
> Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 11 04:21:39 2006

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.