ReceiveCommand.Type.UPDATE)\r
&& receiveCommand.getResult().equals(\r
ReceiveCommand.Result.OK)) {\r
+ // if type=update and update was ok, autotag\r
String objectId = receiveCommand.getNewId().toString()\r
.replace("AnyObjectId[", "").replace("]", "");\r
- System.err.println("SHB id " + objectId);\r
- System.err.println("SHB id "\r
- + objectId.getBytes().length);\r
- // if type=update and update was ok, autotag\r
boolean result = JGitUtils\r
.createIncrementalRevisionTag(\r
- rp.getRepository(), objectId);\r
- System.err.println("SHB res " + result);\r
+ rp.getRepository(), objectId); \r
}\r
- }\r
- System.err.println("SHB cmds: " + cmds);\r
+ } \r
}\r
\r
// log ref changes\r