Merge remote-tracking branch 'origin/master'

This commit is contained in:
Naoki Takezoe
2014-04-11 11:58:51 +09:00
3 changed files with 5 additions and 1 deletions

View File

@@ -0,0 +1 @@
DROP TABLE COMMIT_LOG;

View File

@@ -50,6 +50,7 @@ object AutoUpdate {
* The history of versions. A head of this sequence is the current BitBucket version.
*/
val versions = Seq(
Version(1, 13),
Version(1, 12),
Version(1, 11),
Version(1, 10),

View File

@@ -573,7 +573,9 @@ object JGitUtil {
/**
* Returns all commit id in the specified repository.
*/
def getAllCommitIds(git: Git): Seq[String] = {
def getAllCommitIds(git: Git): Seq[String] = if(isEmpty(git)) {
Nil
} else {
val existIds = new scala.collection.mutable.ListBuffer[String]()
val i = git.log.all.call.iterator
while(i.hasNext){