chiark
/
gitweb
/
~cjwatson
/
bin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f279235
)
svnpath: Allow substitution of 'upstream'.
author
Colin Watson
<cjwatson@chiark.greenend.org.uk>
Sun, 18 Apr 2004 15:47:35 +0000
(15:47 +0000)
committer
Colin Watson
<cjwatson@chiark.greenend.org.uk>
Sun, 18 Apr 2004 15:47:35 +0000
(15:47 +0000)
svnpath
patch
|
blob
|
history
diff --git
a/svnpath
b/svnpath
index d6a7fc462bf27387661d11e902df0be5aa24d896..5eda4581fb86fc7df22d2538e369652bfff488f1 100755
(executable)
--- 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;