Actions
Defect #12663
openDeleting an re-adding a repository duplicates all spent time from commit messages.
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.
       Updated by Jean-Philippe Lang almost 13 years ago
      Updated by Jean-Philippe Lang almost 13 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]
       Updated by Toshi MARUYAMA almost 13 years ago
      Updated by Toshi MARUYAMA almost 13 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.
       Updated by Daniel Dehennin almost 13 years ago
      Updated by Daniel Dehennin almost 13 years ago
      
    
    I think this issue could be linked with #1273 and maybe #11842.
Regards.
Actions