* Cloning svn project with flat layout (remote wildcard inside path component)
@ 2010-09-17 21:14 Marcin Wiśnicki
0 siblings, 0 replies; only message in thread
From: Marcin Wiśnicki @ 2010-09-17 21:14 UTC (permalink / raw)
To: git
I'm trying to clone putty project from it's svn repository.
Unfortunately they are using very nonstandard layout where everything
is in a single directory:
/putty = trunk
/putty-branches-* = release branches
/putty-spinoffs = another branch
/putty-0.* = release tags
To get it working I tried following:
[svn-remote "svn"]
url = svn://svn.tartarus.org/sgt
fetch = putty:refs/remotes/trunk
branches = putty-branch-*:refs/remotes/branches/*
branches = putty-{spinoffs}:refs/remotes/branches/putty-*
tags = /putty-[0-9]*:refs/remotes/tags/*
Turns out however, such configuration is invalid since remote
wildcards are supported only in place of whole path component, not as
a part of it.
Obviously, it would be nice if it was working. Consider this a feature
request, if I may make one.
Actually, I have another: support extended regular expressions (with
capture groups) on remote side and back-references on local ref side,
giving the user control over local branch names.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-17 21:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-17 21:14 Cloning svn project with flat layout (remote wildcard inside path component) Marcin Wiśnicki
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).