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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]