Fog Creek Software
Discussion Board

SubVersion Integration

I'm not sure if this has already been discussed here, but as SubVersion seems to be the flavour of the week, I thought I'd see if I could get FogBugz source-control integration working with it.

And I've basically succeeded, so if anyone's interested they could get in touch.

It's a batch file + VBS solution, rather than Perl.

Wednesday, March 3, 2004

I've switched to using Subversion, so I'd be interested in that!

Wade Winningham
Thursday, March 4, 2004

Yes, us too.  We're considering moving also... How was the transition?  (I assume you moved from CVS?)

Michael H. Pryor
Fog Creek Software
Thursday, March 4, 2004

I actually mainly use VSS (as a one-man company, the main problem with VSS is not an issue) at the moment.

However I do run CVS for stuff which 'externally collaborative', but it does always feel slighlty cobbled together, though TortoiseCVS is pretty good nowadays.

SVN somehow feels more solidly put together, without such an accretion of historical crap.  TortoiseSVN is not nearly as mature as it's CVS cousin, and I feel more inclined to go to the command line at times than I did with CVS.

I'm currently running svnserve on a WinXP machine, with IIS/WebSVN for the web interface to it.  ViewCVS is probably better and works with SVN as well.

I don't have enough running time to really comment on how good it is overall.

I'll put the integration stuff up on a webpage somewhere and post a link to it.

Thursday, March 4, 2004

Right.  The files are in:

There are two files in this zip, put them both in the 'hooks' directory of your SVN repository. 

Edit the batch file so that it contains the right path to the repository.  (If someone can be bothered to come up with a good way to avoid this, I'd be interested...)

Edit the .VBS file so that it contains the right server/path for FogBugz.

The rest of the FogBugz integration is much the same as for any other VCS.

Please let me know of any improvements/bugfixes/plans to include this in any other distribution...

Friday, March 5, 2004

This is really encouraging. Is there some way to get the VBS translated to PHP, at least as a debuggable start? (The demand for integration with Subversion for Mac OS X will be high.)


Terrence Talbot
Monday, March 8, 2004

The VBS isn't something which is run by the web-server - it's invoked by SubVersion itself when a commit is finished.

You probably want it converted to Perl or Python rather than PHP.

I 'produced' the VBS by modifying the FC-provided version for CVS.  You might well be able to do the same with the Perl version, which I think they also provide.

Not a very helpful answer, I know. Sorry.

Tuesday, March 9, 2004

I'm running Subversion on Linux and would also be interested in a Python port of that script.  Does anybody know if one already exists or is in progress?

Ian Olsen
Saturday, March 27, 2004

*  Recent Topics

*  Fog Creek Home