<div dir="ltr"><span style="color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:15px">I am trying to checkout a change from gerrit using </span><code style="color:rgb(36,39,41);font-style:inherit;font-variant:inherit;font-weight:inherit;padding:1px 5px;font-stretch:inherit;font-size:13px;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;vertical-align:baseline;background-color:rgb(239,240,241);white-space:pre-wrap">git review -d <changeID></code><span style="color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:15px"> -v.</span><br><div><span style="color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:15px"><br></span></div><div><p style="font-variant-numeric:inherit;font-stretch:inherit;font-size:15px;line-height:inherit;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;vertical-align:baseline;clear:both;color:rgb(36,39,41)">I am getting following error:</p><pre style="font-size:13px;padding:5px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;vertical-align:baseline;width:auto;max-height:600px;overflow:auto;background-color:rgb(239,240,241);word-wrap:normal;color:rgb(36,39,41)"><code style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;vertical-align:baseline;white-space:inherit">2017-06-21 23:40:20.187678 Running: git config --get gitreview.scheme
2017-06-21 23:40:20.190498 Running: git config --get gitreview.hostname
2017-06-21 23:40:20.193283 Running: git config --get gitreview.port
2017-06-21 23:40:20.196035 Running: git config --get gitreview.project
2017-06-21 23:40:20.198816 Running: git log --color=never --oneline HEAD^1..HEAD
2017-06-21 23:40:20.202041 Running: git remote
2017-06-21 23:40:20.204871 Running: git branch -a --color=never
2017-06-21 23:40:20.207789 Running: git config --get remote.origin.pushurl
2017-06-21 23:40:20.210567 Running: git config --list
Found origin Push URL: <a href="https://git.opendaylight.org/gerrit" target="_blank">https://git.opendaylight.org/gerrit</a>
Query gerrit <a href="https://git.opendaylight.org/changes/?q=59148&o=CURRENT_REVISION2017-06-21" target="_blank">https://git.opendaylight.org/changes/?q=59148&o=CURRENT_REVISION
2017-06-21</a> 23:40:20.213423 Running: git config --bool --get http.sslVerify
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:838: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: <a href="https://urllib3.readthedocs.io/en/latest/security.html" target="_blank">https://urllib3.readthedocs.io/en/latest/security.html</a>
  InsecureRequestWarning)
Cannot query patchset information
The following command failed with exit code 104
    "GET <a href="https://git.opendaylight.org/changes/?q=59148&o=CURRENT_REVISION" target="_blank">https://git.opendaylight.org/changes/?q=59148&o=CURRENT_REVISION</a>"
-----------------------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 404 </title>
</head>
<body>
<h2>HTTP ERROR: 404</h2>
<p>Problem accessing /changes/. Reason:
<pre>    Not Found</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
</body>
</html>

-----------------------
</code></pre><p style="font-variant-numeric:inherit;font-stretch:inherit;font-size:15px;line-height:inherit;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;vertical-align:baseline;clear:both;color:rgb(36,39,41)">It is clearly because git-review is removing <code style="padding:1px 5px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:13px;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;vertical-align:baseline;background-color:rgb(239,240,241);white-space:pre-wrap">/gerrit</code> from the url. It will work properly if it queries <code style="padding:1px 5px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:13px;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;vertical-align:baseline;background-color:rgb(239,240,241);white-space:pre-wrap"><a href="https://git.opendaylight.org/gerrit/changes/?q=59148&o=CURRENT_REVISION" target="_blank">https://git.opendaylight.org/gerrit/changes/?q=59148&o=CURRENT_REVISION</a></code>instead of <code style="padding:1px 5px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:13px;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;vertical-align:baseline;background-color:rgb(239,240,241);white-space:pre-wrap"><a href="https://git.opendaylight.org/changes/?q=59148&o=CURRENT_REVISION" target="_blank">https://git.opendaylight.org/changes/?q=59148&o=CURRENT_REVISION</a></code>.</p><p style="font-variant-numeric:inherit;font-stretch:inherit;font-size:15px;line-height:inherit;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;vertical-align:baseline;clear:both;color:rgb(36,39,41)">The following is my git config:</p><pre style="font-size:13px;padding:5px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;vertical-align:baseline;width:auto;max-height:600px;overflow:auto;background-color:rgb(239,240,241);word-wrap:normal;color:rgb(36,39,41)"><code style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;vertical-align:baseline;white-space:inherit">user.email=<some mail>
<a href="http://user.name/" target="_blank">user.name</a>=<Name>
push.default=simple
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.required=true
credential.helper=cache --timeout=1000000
url.<a href="https://github.com.insteadof/" target="_blank">https://github.com.insteadof</a>=git://<a href="http://github.com/" target="_blank">github.com</a>
gpg.program=gpg2
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=<a href="https://git.opendaylight.org/gerrit/a/integration/test" target="_blank">https://git.opendaylight.org/gerrit/a/integration/test</a>
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
remote.origin.push=HEAD:refs/for/master
branch.master.remote=origin
branch.master.merge=refs/heads/master
http.proxy=<my proxy server>
http.sslverify=false
https.proxy=<my proxy server>
gitreview.remote=origin
gitreview.scheme=http
gitreview.hostname=<a href="https://git.opendaylight.org/gerrit/gitreview.port=80gitreview.project=integration/test" target="_blank">https://git.opendaylight.org/gerrit/
gitreview.port=80
gitreview.project=integration/test</a></code></pre><pre style="font-size:13px;padding:5px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;vertical-align:baseline;width:auto;max-height:600px;overflow:auto;background-color:rgb(239,240,241);word-wrap:normal;color:rgb(36,39,41)"><br></pre><pre style="font-size:13px;padding:5px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;vertical-align:baseline;width:auto;max-height:600px;overflow:auto;background-color:rgb(239,240,241);word-wrap:normal;color:rgb(36,39,41)">Regards,</pre><pre style="font-size:13px;padding:5px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;vertical-align:baseline;width:auto;max-height:600px;overflow:auto;background-color:rgb(239,240,241);word-wrap:normal;color:rgb(36,39,41)">Raghuram</pre></div></div>