git-svn: fix regex to remove "tail" from svn tags
commit54fb7f9b08270873b0646d84164e1cebe2deb857
authorDavid D. Kilzer <ddkilzer@kilzer.net>
Sun, 15 Aug 2010 13:15:54 +0000 (15 06:15 -0700)
committerEric Wong <normalperson@yhbt.net>
Sun, 15 Aug 2010 23:43:35 +0000 (15 23:43 +0000)
tree3ca95811c2951da3d014947408bde35309aec522
parent3d045897585c4b1ca0dce6bb5a33331f1b48c2bf
git-svn: fix regex to remove "tail" from svn tags

Fix a regular expression used to remove the revision from the
end of an svn tag or branch name.  The regex did not account for
any "tail" (dashes) that may have been added to the end of the
tag name (which first appeared in v1.4.1-rc2~11).  If not fixed,
tags with names like "tags/mytag@5--@2" may be created.

Signed-off-by: David D. Kilzer <ddkilzer@kilzer.net>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl