Mercurial > hg > soundsoftware-site
comparison lib/redmine/scm/adapters/abstract_adapter.rb @ 1517:dffacf8a6908 redmine-2.5
Update to Redmine SVN revision 13367 on 2.5-stable branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:29:00 +0100 |
parents | e248c7af89ec |
children | a1bdbf8a87d5 |
comparison
equal
deleted
inserted
replaced
1516:b450a9d58aed | 1517:dffacf8a6908 |
---|---|
180 end | 180 end |
181 | 181 |
182 def without_trailling_slash(path) | 182 def without_trailling_slash(path) |
183 path ||= '' | 183 path ||= '' |
184 (path[-1,1] == "/") ? path[0..-2] : path | 184 (path[-1,1] == "/") ? path[0..-2] : path |
185 end | 185 end |
186 | 186 |
187 def shell_quote(str) | 187 def shell_quote(str) |
188 self.class.shell_quote(str) | 188 self.class.shell_quote(str) |
189 end | 189 end |
190 | 190 |