forked from pool/obs-service-tar_scm
Accepting request 109958 from openSUSE:Tools
- Check that git pull succeeds (forwarded request 109952 from aspiers) OBS-URL: https://build.opensuse.org/request/show/109958 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-tar_scm?expand=0&rev=6
This commit is contained in:
commit
3f0ba19bae
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 19 13:39:28 GMT 2012 - aspiers@suse.com
|
||||||
|
|
||||||
|
- Check that git pull succeeds
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 29 18:32:12 GMT 2012 - aspiers@suse.com
|
Wed Feb 29 18:32:12 GMT 2012 - aspiers@suse.com
|
||||||
|
|
||||||
|
2
tar_scm
2
tar_scm
@ -327,7 +327,7 @@ switch_to_revision () {
|
|||||||
if git branch | grep -q '^\* (no branch)$'; then
|
if git branch | grep -q '^\* (no branch)$'; then
|
||||||
echo "$MYREVISION does not refer to a branch, not attempting git pull"
|
echo "$MYREVISION does not refer to a branch, not attempting git pull"
|
||||||
else
|
else
|
||||||
git pull
|
safe_run git pull
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
svn|bzr)
|
svn|bzr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user