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

RE: Revision-global properties?

From: <subversion_at_fluppet.demon.co.uk>
Date: 2007-12-05 23:06:02 CET

jr9445@ATT.COM wrote:
> > A quick question about something which I suspect is against the
> > Subversion philosophy -
>
> You're trying to shoehorn change control information into a version
> control tool.

As I was saying... :-) (For what it's worth, *I'm* not trying to,
this is a managerial abuse of tools!)

> In theory, you should have a defect/ticket/bug before you begin work.
> Then when you check-in, you put the defect/ticket/bug number into the
> log message for reference. (The commit hook would verify the a
> defect/ticket/bug number exists in the comment and that the
> defect/ticket/bug is valid, in a valid status, being applied to the
> correct branch/trunk, etc..)
>
> So, either store the information outside of subversion in a proper tool,
> or, as you noticed, be prepared to implement some really ugly hacks that
> will just cause pain and suffering to people and profits down the road.

A man after my own heart (not that our bug tracking system is
all that usable either). I'll add your weight to my grumbling at
Those Who Decide! Sadly, our software development process dates
from the Edsac.

> > To summarise the process, since that's a bit wordy:
> > 1) Commit code into svn/sw (get revision number)
> > [Automated check-in mail goes out at this stage, sans images.]
> > 2) Create svn/sw_checkin_images/[revision number]/ and add images
> > 3) Commit the images (and get their URL on the svn web interface)
> > 4) Update the log for the original check-in to point at them
>
> Or commit all the reference material to the secondary repository first,
> get the rev number, and then put the URL+Rev (and a short summary) into
> the primary code repository log message and email. Since all the meaty
> reference info is in a URL, when you finally do implement a real change
> control system, you easily change the script to reference the change
> control system's URL.

I'll see whether they'll buy it - but since they didn't when I
pointed out that including the check-in email in the log message
was a bad idea in the first place, I don't have much hope.

Thanks for the feedback. Nice to know that I have the moral
high ground, even if it's sinking into the mire.

-- 
Andrew Garrard
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 5 23:26:39 2007

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.