[Title] Fixed a bug about infinit loop on getting source
authordonghee yang <donghee.yang@samsung.com>
Fri, 19 Apr 2013 11:19:05 +0000 (20:19 +0900)
committerdonghee yang <donghee.yang@samsung.com>
Fri, 19 Apr 2013 11:19:05 +0000 (20:19 +0900)
package/changelog
package/pkginfo.manifest
src/build_server/GitBuildJob.rb

index 8297734d4c8db607bd04425b2916b3b27b2b1238..ed409b74612f678300093020c9292534fcb46a40 100644 (file)
@@ -1,3 +1,6 @@
+* 2.1.30
+- Fixed a bug that infinite loop of getting source code
+== donghee yang <donghee.yang@samsung.com> 2013-04-19
 * 2.1.29
 - Fixed a bug that migrating DB does not work
 == donghee yang <donghee.yang@samsung.com> 2013-04-19
index c6722f867b4ed9af314403fd2d210d9f93cc4c55..8b6d54a515337186edf27d2a0b3586e6220d3490 100644 (file)
@@ -1,5 +1,5 @@
 Source : dibs
-Version :2.1.29
+Version :2.1.30
 Maintainer : taejun ha<taejun.ha@samsung.com>, jiil hyoun <jiil.hyoun@samsung.com>, donghyuk yang <donghyouk.yang@samsung.com>, donghee yang <donghee.yang@samsung.com>, sungmin kim <dev.sungmin.kim@samsung.com
 
 Package : dibs
index d35ea087d751d1f67142c161d8c7e194dbc83729..3d3c5bda39041daa2bcf5cd672b18fe300abb377 100644 (file)
@@ -309,6 +309,7 @@ class GitBuildJob < BuildJob
                        if not git_cmd("reset --hard #{@git_commit}", git_path, @log) then
                                @log.warn( "Failed on \"git reset --hard #{@git_commit}\"", Log::LV_USER)
                                FileUtils.rm_rf git_path
+                               @git_commit = nil
                                @git_commit = get_source_code_internal()
                        end
                end