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

Re: Query subversion for all files that have a certain property

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-03-01 22:20:22 CET

On Mar 1, 2005, at 10:08 AM, Georg Viehöver wrote:
> The use case that I am thinking about is to query subversion which
> files have been changed for a certain bug, attaching the bug number as
> a property to all files that have been changed in the process of
> fixing the bug.
>
> [...]
> Any ideas? Maybe I am missing some point?
>
>

Yes you are. :-) Subversion's commits are "packaged" into atomic
groups already. If a bugfix touches 14 files, then 'svn commit' will
create a new global revision, and the bug is said to be "fixed by
revision N". At any time, 'svn log -v -rN' will show you the exact
change (including list of files) that fixed the bug. So there's no
need to remember which file-changes fixed a bug -- just remember the
name of the commit which fixed it. That's the information you put
into the issue tracker when you close a bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 1 22:23:07 2005

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