Defect #12409

Git: changesets aren't read after clear_changesets call

Added by Karel Pičman about 5 years ago. Updated about 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Toshi MARUYAMA% Done:

0%

Category:SCM
Target version:2.1.4
Resolution:Fixed Affected version:1.4.5

Description

Changesets aren't read after clear_changesets call at least in case of Git. The method clear_changesets clears all changesets but leaves extra_info in repositories table and therefore changesets aren't read after clear_changesets call.

The attached patch reset extra_info column of the affected repository in clear_changesets method.

repository.patch Magnifier - repository.rb patch (611 Bytes) Karel Pičman, 2012-11-20 13:07

Associated revisions

Revision 10856
Added by Toshi MARUYAMA about 5 years ago

scm: git: fix changesets aren't read after clear_changesets call (#12409)

Revision 10857
Added by Toshi MARUYAMA about 5 years ago

scm: git: fix tests fail when extra_info is nil (#12409)

Revision 10858
Added by Toshi MARUYAMA about 5 years ago

Merged r10856 and r10857 from trunk to 2.1-stable (#12409)

scm: git: fix changesets aren't read after clear_changesets call.

Revision 10859
Added by Toshi MARUYAMA about 5 years ago

Merged r10856 and r10857 from trunk to 1.4-stable (#12409)

scm: git: fix changesets aren't read after clear_changesets call.

Revision 10862
Added by Toshi MARUYAMA about 5 years ago

scm: git: change extra_report_last_commit type at unit test to string (#12409)

Revision 10863
Added by Toshi MARUYAMA about 5 years ago

Merged r10862 from trunk to 2.1-stable (#12409)

scm: git: change extra_report_last_commit type at unit test to string.

Revision 10864
Added by Toshi MARUYAMA about 5 years ago

Merged r10862 from trunk to 1.4-stable (#12409)

scm: git: change extra_report_last_commit type at unit test to string.

History

#1 Updated by Anonymous about 5 years ago

  • Status changed from New to Resolved

#2 Updated by Karel Pičman about 5 years ago

How has it been solved?

#3 Updated by Etienne Massip about 5 years ago

  • Status changed from Resolved to New

#4 Updated by Etienne Massip about 5 years ago

  • Category set to SCM

#5 Updated by Toshi MARUYAMA about 5 years ago

  • Target version set to 2.2.0

#6 Updated by Toshi MARUYAMA about 5 years ago

  • Subject changed from clear_changesets X fetch_changesets to clear extra_info in clear_changesets

#7 Updated by Toshi MARUYAMA about 5 years ago

  • Assignee set to Toshi MARUYAMA

#8 Updated by Toshi MARUYAMA about 5 years ago

  • Tracker changed from Patch to Defect
  • Subject changed from clear extra_info in clear_changesets to Git: changesets aren't read after clear_changesets call
  • Target version changed from 2.2.0 to 2.1.4
  • Affected version (unused) set to 1.4.5
  • Affected version set to 1.4.5

#9 Updated by Toshi MARUYAMA about 5 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Committed in trunk, 2.1-stable and 1.4-stable.
Karel, thanks for catch up.

Also available in: Atom PDF