aboutsummaryrefslogtreecommitdiffstats
path: root/entity/dag/entity_actions.go
diff options
context:
space:
mode:
Diffstat (limited to 'entity/dag/entity_actions.go')
-rw-r--r--entity/dag/entity_actions.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/entity/dag/entity_actions.go b/entity/dag/entity_actions.go
index fe912557..6f6fe45c 100644
--- a/entity/dag/entity_actions.go
+++ b/entity/dag/entity_actions.go
@@ -199,17 +199,6 @@ func merge(def Definition, repo repository.ClockedRepo, remoteRef string, author
return entity.NewMergeError(err, id)
}
- // TODO: pack clock
- // err = localEntity.packClock.Witness(remoteEntity.packClock.Time())
- // if err != nil {
- // return entity.NewMergeError(err, id)
- // }
- //
- // packTime, err := localEntity.packClock.Increment()
- // if err != nil {
- // return entity.NewMergeError(err, id)
- // }
-
editTime, err := repo.Increment(fmt.Sprintf(editClockPattern, def.namespace))
if err != nil {
return entity.NewMergeError(err, id)
@@ -220,8 +209,6 @@ func merge(def Definition, repo repository.ClockedRepo, remoteRef string, author
Operations: nil,
CreateTime: 0,
EditTime: editTime,
- // TODO: pack clock
- // PackTime: packTime,
}
commitHash, err := opp.Write(def, repo, localCommit, remoteCommit)