Skip to content

two git-svn changes to help work with chromium.org

Jay Soffian git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2git-svn: allow UUID to be manually remapped via rewriteUUIDDocumentation/git-svn.txt git-svn.perl t/t9153-git-svn-rewrite-uuid.sh +1 more+140 -80 replies
2/2git-svn: allow subset of branches/tags to be specified in glob specDocumentation/git-svn.txt git-svn.perl t/t9154-git-svn-fancy-glob.sh +1 more+320 -200 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] two git-svn changes to help work with chromium.org

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-d872f2087c98

Jay 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