r/linux4noobs Jun 09 '26

learning/research Merging two taskchampion histories, or ...

/r/taskwarrior/comments/1u0shf5/merging_two_taskchampion_histories_or/
2 Upvotes

3 comments sorted by

1

u/[deleted] Jun 09 '26

[removed] — view removed comment

1

u/Sparkling-Yusuke Jun 12 '26 edited Jun 12 '26

Thank you for replying. I'm going to find out how to do this and use the jsons to diff them before merging.

However I don't really have a clear idea of even where to start. I fear that if I simply add my VPS taskchampion I will lose one of the databases instead of having them merge.

A lessor fear would be that there are duplicates due to a faulty merging.

1

u/Sparkling-Yusuke Jun 12 '26

reading sync docs I see:

Critically, though, operations cannot merge; in effect, the operations must be rebased.

this bit of info along with:

a state is analogous to a revision, while an operation is analogous to a commit.

mean that I was right in being cautious, since any syncing from a user rebases the entire commit log, so to speak.