commit 2226518e06a5ffc98661d2b4b0573c5e5bfdc5e3
Author: Kacper Kornet <[email protected]>
Date:   Wed Sep 5 04:23:33 2012 +0200

    builder: Don't try to merge with upstream when --no-cvs-specs is specified

 builder.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/builder.sh b/builder.sh
index 2529aa8..3b9e03e 100755
--- a/builder.sh
+++ b/builder.sh
@@ -958,8 +958,8 @@ get_spec() {
                if [ $(git rev-parse "$CVSTAG") != $(git rev-parse HEAD) ]; then
                        Exit_error "err_no_checkut" "$CVSTAG"
                fi
-               git symbolic-ref -q HEAD > /dev/null &&
                        git merge '@{u}'
+               git symbolic-ref -q HEAD > /dev/null && [ "$NOCVSSPEC" != "yes" 
] &&
                if [ -n "$CVSDATE" ]; then
                        git checkout $(git rev-list -n1 --before="'$CVSDATE'" 
$CVSTAG) || exit 1
                fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/ef4c7d3d95f1c79fd62726d581aa94fe5a961561

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to