commit 29ab16f193cf3ebccb0c044b98f2ba9be98c3090
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Sun Nov 23 00:32:46 2014 +0100

    Make updateall off by default.
    
    Turn updateall to off by default so 'git pld pull' will only checkout
    packages that were fetched at this session. If you want old behaviour
    use 'git pld pull --all'.

 slug.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/slug.py b/slug.py
index d083cf4..fa8fd89 100755
--- a/slug.py
+++ b/slug.py
@@ -274,7 +274,7 @@ default_options['fetch'] = {'branch': '[*]', 'prune': 
False, 'newpkgs': False, '
 
 pull = subparsers.add_parser('pull', help='git-pull in all existing 
repositories', parents=[common_fetchoptions],
         formatter_class=argparse.RawDescriptionHelpFormatter)
-pull.add_argument('--all', help='update local branches in all repositories', 
dest='updateall', action='store_true', default=True)
+pull.add_argument('--all', help='update local branches in all repositories', 
dest='updateall', action='store_true', default=False)
 pull.add_argument('--noall', help='update local branches only when something 
has been fetched', dest='updateall', action='store_false', default=True)
 newpkgsopt = pull.add_mutually_exclusive_group()
 newpkgsopt.add_argument('-n', '--newpkgs', help='download packages that do not 
exist on local side',
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/git-slug.git/commitdiff/d9fdf7d60e5aea39f9ac7065a09a645261fc712b

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

Reply via email to