Skip to content

Conversation

@joshuaherrera
Copy link
Contributor

@joshuaherrera joshuaherrera commented Jun 20, 2021

This PR resolves #81 .

Since the revert command relied on the key to get the right backup, I had to make some changes to that logic as well. I decided to always ensure the backup filename matches the current file, which meant when a project filename is changed, so is the backup file.

I also had to make a change to the BackupRecord function so that it takes a Record type instead of a string as an argument. This change will effect how the revert works with the records as well, so my other PR that resolves #89 is effected by this change.

@dominikbraun dominikbraun self-requested a review June 21, 2021 05:43
@dominikbraun dominikbraun added this to the timetrace v0.15.0 milestone Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Command timetrace edit record <key> does not rename file command timetrace edit project <key> does not rename file

2 participants