]> source.dussan.org Git - redmine.git/commit
mercurial: separate command options and positional arguments with "--" (#27516)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 7 Dec 2017 11:38:35 +0000 (11:38 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 7 Dec 2017 11:38:35 +0000 (11:38 +0000)
commit58ed8655136ff2fe5ff7796859bf6a399c76c678
tree189c22e96ad36228ab23c0824e2b657e5606922e
parentca87bf766cdc70179cb2dce03015d78ec9c13ebd
mercurial: separate command options and positional arguments with "--" (#27516)

We don't have much problems here thanks to hgtarget(path) and CGI.escape(),
which prepends a repository path and encodes "=" character respectively, but
it's better to not rely on the side effect of these functions.

Contributed by Yuya Nishihara.

git-svn-id: http://svn.redmine.org/redmine/trunk@17061 e93f8b46-1217-0410-a6f0-8f06a7374b81
lib/redmine/scm/adapters/mercurial_adapter.rb