git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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-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: Jay Soffian
Message 1 of 5 in “two git-svn changes to help work with chromium.org”
  1. 0/2 two git-svn changes to help work with chromium.orgJay Soffian, Jan 23, 2010
  2. 1/2 git-svn: allow UUID to be manually remapped via rewriteUUIDJay Soffian, Jan 23, 2010
  3. 2/2 git-svn: allow subset of branches/tags to be specified in glob specJay Soffian, Jan 23, 2010
  4. Eric WongJan 23, 2010
  5. Junio C HamanoJan 24, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.