From: Colin Watson Date: Sun, 18 Apr 2004 15:47:35 +0000 (+0000) Subject: svnpath: Allow substitution of 'upstream'. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=f3d12ea6905e02027a3c6737e8852a297ed5ba54;hp=f27923537e2b9a5898179ebba554ac440afbcc54;p=bin.git svnpath: Allow substitution of 'upstream'. --- diff --git a/svnpath b/svnpath index d6a7fc4..5eda458 100755 --- a/svnpath +++ b/svnpath @@ -13,6 +13,6 @@ if (! length $url) { if (length $wanted) { # Now jut substitute into it. - $url=~s!/(?:trunk|branches|tags)($|/)!/$wanted$1!; + $url=~s!/(?:trunk|branches|tags|upstream)($|/)!/$wanted$1!; } print $url;