[PATCH 0/2] two git-svn changes to help work with chromium.org
- From
Jay Soffian <jaysoffian@gmail.com>
- Date
- Jan 23, 2010, 08:29 UTC
- Message-ID
- <1264235401-44051-1-git-send-email-jaysoffian@gmail.com>
Google nicely mirrors the subversion chrome repository with git-svn. However, the git-svn mirror has only trunk. I wanted to add in a couple other branches to my clone of the git-svn mirror, but to do so I needed the ability to lie about the UUID since the publically accessible subversion repository has a different UUID than that which google is cloning from using git-svn.
In addition, google has a ton of branches in the subversion repository, and I only wanted a few. Hence this two-patch series. For posterity, here's what my .git/config looks like:
[remote "origin"]
url = git://git.chromium.org/chromium.git
fetch = +refs/heads/*:refs/remotes/origin/*
[svn-remote "svn"]
url = http://src.chromium.org/svn
fetch = trunk/src:refs/remotes/svn/trunk
branches = branches/{249,302}/src:refs/remotes/svn/*
rewriteRoot = svn://svn.chromium.org/chrome
rewriteUUID = 0039d316-1c4b-4281-b951-d872f2087c98Jay Soffian (2): git-svn: allow UUID to be manually remapped via rewriteUUID git-svn: allow subset of branches/tags to be specified in glob spec
Documentation/git-svn.txt | 31 +++++- git-svn.perl | 93 ++++++++++++----- t/t9153-git-svn-rewrite-uuid.sh | 25 +++++ t/t9153/svn.dump | 75 +++++++++++++ t/t9154-git-svn-fancy-glob.sh | 42 ++++++++ t/t9154/svn.dump | 222 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 460 insertions(+), 28 deletions(-) create mode 100755 t/t9153-git-svn-rewrite-uuid.sh create mode 100644 t/t9153/svn.dump create mode 100755 t/t9154-git-svn-fancy-glob.sh create mode 100644 t/t9154/svn.dump