Skip to content

Commit 3e1113d

Browse files
Liubov Dmitrievafacebook-github-bot
authored andcommitted
log to scuba number of newly uploaded changesets to Commit Cloud
Summary: log to scuba number of newly uploaded changesets to Commit Cloud this would be helpful for debugging issues and improve our general understanding of how much new commits are coming to commit cloud and from what clients Reviewed By: markbt Differential Revision: D41306999 LaMa Project: L1122763 fbshipit-source-id: e5b1ce29b1ee358b1780b7e6b18a6ee6b838b8b1
1 parent 1de7616 commit 3e1113d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

eden/scm/edenscm/edenapi_upload.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ def _uploadchangesets(repo, changesets, mutations):
135135
uploaded.append(cs[0])
136136
else:
137137
failed.append(cs[0])
138+
139+
repo.ui.log(
140+
"edenapi_uploaded_changesets", edenapi_uploaded_changesets=len(uploaded)
141+
)
138142
return uploaded, failed
139143
except (error.RustError, error.HttpError) as e:
140144
raise error.Abort(e)

0 commit comments

Comments
 (0)