Git patch added (#259) with annotate support. Changeset revision field changed to string.

TODO:
* fix Darcs support and add tests for Darcs
* maybe remove scmid column by moving commit hashes to Changeset#revision for all DSCM

git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1201 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-03-07 16:27:46 +00:00
parent 25e8baea05
commit a834312a3e
23 changed files with 586 additions and 47 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ class Repository::Bazaar < Repository
scm_info = scm.info
if scm_info
# latest revision found in database
db_revision = latest_changeset ? latest_changeset.revision : 0
db_revision = latest_changeset ? latest_changeset.revision.to_i : 0
# latest revision in the repository
scm_revision = scm_info.lastrev.identifier.to_i
if db_revision < scm_revision