git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1994 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9ae6e60c26
commit
47475acdaf
|
@ -50,7 +50,8 @@ module Redmine
|
||||||
path ||= ''
|
path ||= ''
|
||||||
entries = Entries.new
|
entries = Entries.new
|
||||||
cmd = "#{BZR_BIN} ls -v --show-ids"
|
cmd = "#{BZR_BIN} ls -v --show-ids"
|
||||||
cmd << " -r#{identifier.to_i}" if identifier && identifier.to_i > 0
|
identifier = -1 unless identifier && identifier.to_i > 0
|
||||||
|
cmd << " -r#{identifier.to_i}"
|
||||||
cmd << " #{target(path)}"
|
cmd << " #{target(path)}"
|
||||||
shellout(cmd) do |io|
|
shellout(cmd) do |io|
|
||||||
prefix = "#{url}/#{path}".gsub('\\', '/')
|
prefix = "#{url}/#{path}".gsub('\\', '/')
|
||||||
|
|
Loading…
Reference in New Issue