threads / discuss / 23069

document git-svn --minimize-url option or make it default

Subject: document git-svn --minimize-url option or make it default

## tl;dr

One message between Mar 18, 2010 and Mar 18, 2010.

replies: 0people: 1as markdown or json

Matthew Woehlke· Mar 18, 2010, 20:37 UTC · lore

Here's a problem I was having. I was trying to clone branches/foo/bar from a certain repo, where the last change on branches/foo looked like:

    A /branches/foo
    A /branches/foo/bar (from /trunk/foo/bar:12345)

By itself I couldn't get this to work; it would check out the HEAD, but wouldn't follow the copy to fetch any history.

I tried --stdlayout, but that worked even worse; nothing got checked out whatsoever.

Finally by trial and error I figured out to use --minimize-url.

I'd like to ask that this be more properly documented, especially stating that it is necessary to follow copies between branches and trunk. Or better yet, given that not following such copies is arguably broken, make it the default (even without -T/-t/-b/-s).

-- 
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
-- 
It is training and experience that gives us the ability to abstract 
problems, remain objective, use previous knowledge, interact with users, 
and herd cats.
   -- Celeste Lyn Paul, on Usability Experts

← back to recent threads