{"thread":{"id":"25133","subject":"Cloning svn project with flat layout (remote wildcard inside path component)","startedAt":"2010-09-17T21:14:33Z","lastAt":"2010-09-17T21:14:33Z","messageCount":1,"participants":["Marcin Wiśnicki"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"150908","messageId":"AANLkTin7byfdi=K2eN_9Cqx_HQBJatm1qW7zO-te2F-1@mail.gmail.com","threadId":"25133","inReplyTo":null,"subject":"Cloning svn project with flat layout (remote wildcard inside path component)","fromName":"Marcin Wiśnicki","fromEmail":"mwisnicki@gmail.com","sentAt":"2010-09-17T21:14:33Z","receivedAt":"2010-09-17T21:14:33Z","isPatch":false,"sender":{"key":"mwisnicki@gmail.com","avatar":"https://gravatar.com/avatar/6bc6cce46e549217fe39b05ac03acb4f5755154d6752ff65b580783365ad3e50?d=mp&s=160"},"body":"I'm trying to clone putty project from it's svn repository.\nUnfortunately they are using very nonstandard layout where everything\nis in a single directory:\n\n/putty = trunk\n/putty-branches-* = release branches\n/putty-spinoffs = another branch\n/putty-0.* = release tags\n\nTo get it working I tried following:\n\n[svn-remote \"svn\"]\n        url = svn://svn.tartarus.org/sgt\n        fetch = putty:refs/remotes/trunk\n        branches = putty-branch-*:refs/remotes/branches/*\n        branches = putty-{spinoffs}:refs/remotes/branches/putty-*\n        tags = /putty-[0-9]*:refs/remotes/tags/*\n\nTurns out however, such configuration is invalid since remote\nwildcards are supported only in place of whole path component, not as\na part of it.\n\nObviously, it would be nice if it was working. Consider this a feature\nrequest, if I may make one.\n\nActually, I have another: support extended regular expressions (with\ncapture groups) on remote side and back-references on local ref side,\ngiving the user control over local branch names.\n"}]}