Hello community,

here is the log from the commit of package obs-service-tar_scm for 
openSUSE:Factory checked in at 2012-06-07 15:39:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obs-service-tar_scm (Old)
 and      /work/SRC/openSUSE:Factory/.obs-service-tar_scm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "obs-service-tar_scm", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/obs-service-tar_scm/obs-service-tar_scm.changes  
2012-05-25 16:17:00.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-tar_scm.new/obs-service-tar_scm.changes 
    2012-06-07 15:39:04.000000000 +0200
@@ -1,0 +2,10 @@
+Tue Jun  5 11:12:07 UTC 2012 - [email protected]
+
+- Re-iterating the last change once again, 'git rev-parse --verify $REV'
+  will return false even if $REV is a normal branch upon first clone
+  of the repo. Thus 'git fetch $URL +$REV:$REV" is run initially. 
+  However, the 'git checkout $REV' then fails because it's missing 
+  tracking information. Therefore, try a normal checkout first and fetch
+  the specific $REV only when that fails (due to reasons described below).
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ obs-service-tar_scm.spec ++++++
--- /var/tmp/diff_new_pack.hp1pc6/_old  2012-06-07 15:39:06.000000000 +0200
+++ /var/tmp/diff_new_pack.hp1pc6/_new  2012-06-07 15:39:06.000000000 +0200
@@ -48,7 +48,10 @@
 Source115:      utils.py
 Source116:      scm-wrapper
 
-Requires:       bzr git mercurial subversion
+Requires:       bzr
+Requires:       git
+Requires:       mercurial
+Requires:       subversion
 BuildRequires:  bzr
 BuildRequires:  git
 BuildRequires:  mercurial

++++++ tar_scm ++++++
--- /var/tmp/diff_new_pack.hp1pc6/_old  2012-06-07 15:39:06.000000000 +0200
+++ /var/tmp/diff_new_pack.hp1pc6/_new  2012-06-07 15:39:06.000000000 +0200
@@ -336,11 +336,11 @@
       # - explicit ref: refs/heads/master, refs/tags/v1.2.3, 
refs/changes/49/11249/1
       #   - set by: git fetch <url> +<revision>:<revision> && git checkout 
<revision>
       #
-      if ! git rev-parse --verify "$MYREVISION"; then
+      if ! git checkout "$MYREVISION"; then
         echo "$MYREVISION not accessible by default clone/fetch, attempting 
explicit fetch"
         safe_run git fetch "$MYURL" "+$MYREVISION:$MYREVISION"
+        safe_run git checkout "$MYREVISION"
       fi
-      safe_run git checkout "$MYREVISION"
       if git branch | grep -q '^\* (no branch)$'; then
         echo "$MYREVISION does not refer to a branch, not attempting git pull"
       else

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to