Ticket #2208 (new enhancement)

Opened 6 months ago

a few fixes to the plugin

Reported by: anarcat@koumbit.org Assigned to: dserodio
Priority: low Component: SvnPostCommitCreateVersionScript
Severity: minor Keywords:
Cc: Trac Release: 0.10

Description

The attached patch fixes a few issues with the plugin:

  1. tolerate dashes in the regular expression and don't require the RELEASE string in the tag (a bit site-specific)
  2. add the -r flag to svnlook so the version argument actually works (otherwise it just takes the latest version, which works most of the time, unless two commits happen at the same time)
  3. figure out the trac repo out of the last part of the svn repo (/var/lib/svn/foo will make the hook work on /var/lib/trac/foo), instead of relying on the committed path. we now use the "project" as part of the version instead

Attachments

local.patch (1.3 kB) - added by anarcat@koumbit.org on 11/21/07 14:25:31.
our site-specific changes

Change History

11/21/07 14:25:31 changed by anarcat@koumbit.org

  • attachment local.patch added.

our site-specific changes


Add/Change #2208 (a few fixes to the plugin)




Change Properties
Action