calcurse icon indicating copy to clipboard operation
calcurse copied to clipboard

version control over hashed .calcurse/notes/*

Open mvhulten opened this issue 3 years ago • 0 comments

By design, notes are stored in files of which the name are a hash of the content. As a consequence, at every change in a note a file is added and removed (or renamed, if you will), e.g.

cd ~/.calcurse/
hg addremove notes/
hg diff

will give a huge diff even for minor changes in notes.

I'm sure that many are keeping version control over their calcurse data directory. Is this regarded as a problem? Should one do something about it?

I see that my (Mercurial) repository is not getting huge (about the same size as the working directory). So that is not a problem—it's just that tracking history of the notes is harder (for humans, who look at diffs).

mvhulten avatar Sep 20 '21 12:09 mvhulten