git-svn: support intermediate paths when matching tags/branches
commit9162b8640b4e9e199fb92eb6b8a3787f268531d5
authorMichael Lai <myllai@gmail.com>
Mon, 9 Mar 2009 18:45:47 +0000 (9 11:45 -0700)
committerEric Wong <normalperson@yhbt.net>
Mon, 9 Mar 2009 21:52:12 +0000 (9 14:52 -0700)
tree51f365677696ba470b60361827969b07e2d0a7f4
parent52e7787609d18af76a8c1befb0a06123fb7ce89e
git-svn: support intermediate paths when matching tags/branches

For repositories laid out like the following:

[svn-remote "svn"]
      url = http://foo.com/svn/repos/bar
      fetch = myproject/trunk:refs/remotes/trunk
      branches = bar/myproject/branches/*:refs/remotes/*
      tags = bar/myproject/tags/*:refs/remotes/tags/*

The "bar" component above is considered the intermediate path
and was not handled correctly.

Signed-off-by: Michael Lai <myllai@gmail.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl