Project

General

Profile

Actions

Defect #12663

open

Deleting an re-adding a repository duplicates all spent time from commit messages.

Added by Ryan J about 11 years ago. Updated about 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Time tracking
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I have a project where I deleted an re-added the Git repository (to move it on disk). When I re-added the repository, the time spent logged using (ex:) @1h30m tags in commit messages was duplicated. I think this person may have been having a similar issue.

Actions #1

Updated by Jean-Philippe Lang about 11 years ago

Yes, commit message are parsed when re-adding the repository and new time entries are created.
As a workaround, you should be able to manually delete all these time entries with something like:

delete from time_entries where created_on > [a few minutes ago]
Actions #2

Updated by Toshi MARUYAMA about 11 years ago

  • Subject changed from Deleting an re-adding a Git repository duplicates all spent time from commit messages. to Deleting an re-adding a repository duplicates all spent time from commit messages.
Actions #3

Updated by Daniel Dehennin about 11 years ago

I think this issue could be linked with #1273 and maybe #11842.

Regards.

Actions

Also available in: Atom PDF