From: Jay Soffian <jaysoffian@gmail.com>
To: git@vger.kernel.org
Cc: Jay Soffian <jaysoffian@gmail.com>,
Junio C Hamano <gitster@pobox.com>,
Eric Wong <normalperson@yhbt.net>
Subject: [PATCH 0/2] two git-svn changes to help work with chromium.org
Date: Sat, 23 Jan 2010 03:29:59 -0500 [thread overview]
Message-ID: <1264235401-44051-1-git-send-email-jaysoffian@gmail.com> (raw)
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
next reply other threads:[~2010-01-23 8:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-23 8:29 Jay Soffian [this message]
2010-01-23 8:30 ` [PATCH 1/2] git-svn: allow UUID to be manually remapped via rewriteUUID Jay Soffian
2010-01-23 8:30 ` [PATCH 2/2] git-svn: allow subset of branches/tags to be specified in glob spec Jay Soffian
2010-01-23 11:26 ` [PATCH 0/2] two git-svn changes to help work with chromium.org Eric Wong
2010-01-24 19:29 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1264235401-44051-1-git-send-email-jaysoffian@gmail.com \
--to=jaysoffian@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=normalperson@yhbt.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).