From 79873bf44a38f3b342480262e55c85ab2ab0cc3d Mon Sep 17 00:00:00 2001 From: Dave Bayer Date: Sun, 21 Aug 2011 04:55:40 -0700 Subject: [PATCH] fix: svn update doesn't take url argument `svn up` doesn't take url argument; compare `svn help up` to `svn help checkout` Apparently `svn up` can ignore this argument (not documented), but providing this argument could confuse code readers into believing that changing the url will switch the branch. It doesn't; the argument is ignored. This fix was relayed to me, but I've studied it further before posting. It is related to the bug where --HEAD installs reuse the wrong cache. Reading the former code, one might hope that providing a changed URL would have `svn up` change branches. It doesn't; the url was ignored. Closes Homebrew/homebrew#7159. Signed-off-by: Max Howell --- Library/Homebrew/download_strategy.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 17b72efd37..cfdaaa7bee 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -195,7 +195,7 @@ class SubversionDownloadStrategy