Make repos without VIEW_VC also post Committed to the codereview.
R=maruel@chromium.org
BUG=153446
Review URL: https://chromiumcodereview.appspot.com/11094033
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@160960 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/git_cl.py b/git_cl.py
index acd04a5..244259d 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1384,6 +1384,8 @@
viewvc_url = settings.GetViewVCUrl()
if viewvc_url and revision:
cl.description += ('\n\nCommitted: ' + viewvc_url + revision)
+ elif revision:
+ cl.description += ('\n\nCommitted: ' + revision)
print ('Closing issue '
'(you may be prompted for your codereview password)...')
cl.CloseIssue()