You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- When pushing a bundle to the PT SendReceive server, we can
incorrectly think we gave commits to the server and that they were
retained. This leads to additional problems later when pushing again,
because the server doesn't have a commit that we are expecting it to
have.
- This patch checks if the PT SendReceive server has the commit we
intended to push, and fails the sync if not.
- The outgoing bundle size is also logged for help in investigating
problems.
- This patch does not fix the situation where pushing a commit to the
SR server doesn't work. But it should prevent SF from (1) incorrectly
communicating to the user that the sync succeeded, and (2) getting
into a state where the SF project is stuck and can not sync without
manual intervention. The SF project is left in a state where the sync
can at least be re-tried.
Copy file name to clipboardExpand all lines: AGENTS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,6 +82,7 @@ This repository contains three interconnected applications:
82
82
- Do put comments into the code if the intent is not clear from the code.
83
83
- All classes and interfaces should have a comment to briefly explain why it is there and what its purpose is in the overall system, even if it seems obvious.
84
84
- Please do not fail to add a comment to any classes or interfaces that are created. All classes and interfaces should have a comment.
85
+
- Use good argument and variable names that explain themselves without needing a comment. Well named arguments or variables are better than unclearly named arguments or variables with a comment.
0 commit comments