Cannot git cl status |
||
Issue descriptionWhenever I try to git cl status, I'm faced with this message instead. lethalantidote@lethalantidote-linux:~/blimp/src$ git cl status Branches associated with reviews: Credentials for the following hosts are required: -review These are read from /usr/local/google/home/lethalantidote/.gitcookies (or legacy /usr/local/google/home/lethalantidote/.netrc) You can (re)generate your credentials by visiting https://-review/new-password I try visiting https://-review/new-password by clicking, but all I see is This site can’t be reached -review’s server IP address could not be found. DNS_PROBE_FINISHED_NXDOMAIN I tried copy and pasting the link, and google suggests https://chromium-review.googlesource.com/new-password I try following the instructions there, but still no luck. To be noted, every other command I usually use still works (include git cl upload).
,
Dec 13
I'm fetching from refs/remotes/origin/master (if that's what you are asking?)
,
Dec 14
No, I'm basically asking what the URL of 'origin' is, which should be the output of `git remote get-url origin`
,
Dec 15
What is 'git config -l'?
,
Dec 17
include.path=/usr/share/git-core/config protocol.version=2 protocol.persistent-https.allow=always protocol.rpc.allow=always protocol.sso.allow=always submodule.repolike=true url.https://github.com/.insteadof=http://github.com/ url.https://github.com/.insteadof=git://github.com/ merge.tool=meld diff.guitool=meld user.name=CJ DiMeglio user.email=lethalantidote@chromium.org core.autocrlf=false core.filemode=false color.ui=true alias.branch-point=merge-base HEAD @{u} alias.brdiff=! git diff -M $(git branch-point) alias.brdifftool=! git difftool -M $(git branch-point) --dir-diff http.cookiefile=/usr/local/google/home/lethalantidote/.gitcookies core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true remote.origin.url=https://chromium.googlesource.com/chromium/src.git remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* remote.origin.fetch=+refs/branch-heads/*:refs/remotes/branch-heads/* remote.old-src.url=/usr/local/google/home/lethalantidote/chromium-android/src-old/ remote.old-src.fetch=+refs/heads/*:refs/remotes/old-src/* rietveld.server=https://codereview.chromium.org rietveld.cc=chromium-reviews@chromium.org rietveld.tree-status-url=http://chromium-status.appspot.com/status rietveld.viewvc-url=https://chromium.googlesource.com/chromium/src/+/ rietveld.project=chromium rietveld.pending-ref-prefix=refs/pending/ rietveld.run-post-upload-hook=True depot-tools.rebase-update.starting-workdir=/usr/local/google/home/lethalantidote/blimp/src depot-tools.rebase-update.starting-branch=master branch.None.rietveldissue=2221063003 merge.clang-format.name=clang-format merge driver merge.clang-format.driver=clang_format_merge_driver %O %A %B %P merge.clang-format.recursive=binary merge.clang-format.version=1 gerrit.host=True branch.captionbutton.remote=. branch.captionbutton.merge=refs/heads/master branch.captionbutton.base=f4bf3776cac752df8bb8ccf832b45611088456b9 branch.captionbutton.base-upstream=refs/heads/master branch.captionbutton.gerritissue=1375396 branch.captionbutton.gerritserver=https://chromium-review.googlesource.com branch.captionbutton.gerritsquashhash=d8fed87d10da850fad374b762bc06c9892930a5c branch.captionbutton.last-upload-hash=4947fa2167ab2608216fded787b14701d44f96ef branch.clickfocus.base=c9fd50f47501c264dcc666742b3e87f4e7d4857c branch.clickfocus.base-upstream=master branch.clickfocus.gerritissue=1292814 branch.clickfocus.gerritserver=https://chromium-review.googlesource.com branch.clickfocus.gerritsquashhash=e80edb03e3e66f5e2f447ef105957ae18052ee31 branch.clickfocus.last-upload-hash=ac3f4a559059fa659b3409c91695fbed1a3a7d57 branch.clickfocus.remote=. branch.clickfocus.merge=refs/heads/master branch.m71.remote=origin branch.m71.merge=refs/branch-heads/3578 branch.m71.base=b4c2901c8b219257d86d932e2d0da7a5101a3e78 branch.m71.base-upstream=branch-heads/3578 branch.a11ytree.remote=. branch.a11ytree.merge=refs/heads/real_master branch.a11ytree.base=dcd8a42a8cea8ae6867c8a3fa9240508b6b189d1 branch.a11ytree.base-upstream=refs/heads/real_master branch.a11ytree.gerritissue=1331830 branch.a11ytree.gerritserver=https://chromium-review.googlesource.com branch.a11ytree.gerritsquashhash=c30e59c7fa07a984404ca609b944cebbec66b3d8 branch.a11ytree.last-upload-hash=df1528573a22f86085615162c0088a255984a27a branch.volper.base=a060c4e9a5fb35535ba26642df21914dad5ac379 branch.volper.base-upstream=master branch.volper.gerritissue=1356007 branch.volper.gerritserver=https://chromium-review.googlesource.com branch.volper.gerritsquashhash=2aba50196e484e0b7065e8b8dea19a3b634b3fbb branch.volper.last-upload-hash=1ac412b0c7e9ba6946826e5c6f95b575a7c91389 branch.volper.remote=. branch.volper.merge=refs/heads/master branch.master.remote=origin branch.master.merge=refs/heads/master branch.master.base=65a3081df8ebf3744ae00c4cd05d825f551c057c branch.master.base-upstream=origin/master branch.scopedremove.base=6f1679e3363a2eb676124350b369873e8a1d5abc branch.scopedremove.base-upstream=master branch.scopedremove.gerritissue=1346999 branch.scopedremove.gerritserver=https://chromium-review.googlesource.com branch.scopedremove.gerritsquashhash=8377fda616f0e74b8438a8cd8dd252d8214802b2 branch.scopedremove.last-upload-hash=997126547f9e69454781146b1d97cf20487a5f1d branch.scopedremove.remote=. branch.scopedremove.merge=refs/heads/master branch.fixedscopedref.gerritissue=1346999 branch.fixedscopedref.gerritserver=https://chromium-review.googlesource.com branch.fixedscopedref.base=401770722daeea00304d0c06bf3cf57c5ca5b686 branch.fixedscopedref.base-upstream=master branch.fixedscopedref.gerritsquashhash=e5f61490fdbdd881dccaa105328878d9463e653b branch.fixedscopedref.last-upload-hash=ba2758571e29e3bc6a5789457fb73a30e16cad60 branch.fixedscopedref.remote=. branch.fixedscopedref.merge=refs/heads/master branch.keepongoinvid.remote=. branch.keepongoinvid.merge=refs/heads/master branch.keepongoinvid.base=00c1b7ab0080db58436431b6dbe1956b2457abbc branch.keepongoinvid.base-upstream=master branch.watchlist.remote=old-src branch.watchlist.merge=refs/heads/watchlist branch.watchlist.base=415e7dd687da0a13a8af6b6bab89db2cc36599bb branch.watchlist.base-upstream=old-src/watchlist branch.watlist.base=a1484b14c06d83361c9c209b616ce583e4e7a01a branch.watlist.base-upstream=refs/remotes/origin/master branch.watlist.gerritissue=1372891 branch.watlist.gerritserver=https://chromium-review.googlesource.com branch.watlist.gerritsquashhash=f82ca5fd9d18732c8d1a978ae89a458f0f1d1833 branch.watlist.last-upload-hash=97551ee91679bd41415a8e65be370af03f3b2138 branch.fixvol.base=9e2cc901fe38c440b008776fb90c388fa4e9f928 branch.fixvol.base-upstream=refs/heads/master branch.fixvol.gerritissue=1373032 branch.fixvol.gerritserver=https://chromium-review.googlesource.com branch.fixvol.gerritsquashhash=e6a1f7e1cf97d843633f5d3e10170c888a2d4762 branch.fixvol.last-upload-hash=a091f2f7e0af8aabef7c8d2a14ba94d8b325e0c8 branch.fixvol.remote=. branch.fixvol.merge=refs/heads/master branch.captionsmenufun.remote=. branch.captionsmenufun.merge=refs/heads/captionbutton branch.captionsmenufun.base=4947fa2167ab2608216fded787b14701d44f96ef branch.captionsmenufun.base-upstream=refs/heads/captionbutton branch.captionsmenufun.gerritissue=1379178 branch.captionsmenufun.gerritserver=https://chromium-review.googlesource.com branch.captionsmenufun.gerritsquashhash=f9e2dff7e1d458b97dc6241953db780b9dda00aa branch.captionsmenufun.last-upload-hash=889e14e0b20efba4bda99bacb1fdbca6a53a0471
,
Dec 17
Thanks! What branch were you working on?
,
Dec 17
when i did this i was working on captionbutton, but even on master git cl status fails.
,
Dec 19
I discussed this on hangouts with lethalantidote@ The problem was that the remote for the "watchlist" branch was old-src, which pointed to a directory that no longer existed. This caused git-cl not to find the git host the branch should be tracking, so it produced an empty URL, which can be seen on the error message: Credentials for the following hosts are required: -review The solution was to remove the 'old-src' origin from the repo. I will also upload a CL to provide better error messages when something like this happens. |
||
►
Sign in to add a comment |
||
Comment 1 by ajp@chromium.org
, Dec 13