aboutsummaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2010-01-17 18:15:28 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2010-01-17 18:15:28 +0000
commitc826920f872e41ced1b339c6f21b23f83f57f59d (patch)
tree92efdd4f45a721046e8c4a56baf91fc7c1a576cf /ruby
parent84e305568bd5066e6647c9ea3e3f313aaff41aab (diff)
downloadpaludis-c826920f872e41ced1b339c6f21b23f83f57f59d.tar.gz
paludis-c826920f872e41ced1b339c6f21b23f83f57f59d.tar.xz
Support bzr+lp:// for syncing
Diffstat (limited to 'ruby')
-rwxr-xr-xruby/demos/playman.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ruby/demos/playman.rb b/ruby/demos/playman.rb
index 8bae67449..94fb660a8 100755
--- a/ruby/demos/playman.rb
+++ b/ruby/demos/playman.rb
@@ -175,6 +175,8 @@ def munge_url(type, src, subpath = "")
return src
when %r{^[a-z+]+://}
return "bzr+#{src}"
+ when %r{^lp:(.*)}
+ return "bzr+lp://#$1"
else
return "bzr+file://#{src}"
end