summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/devtool/standard.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index a9c4cf8d8d..fbc49a9777 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -346,7 +346,7 @@ def sync(args, config, basepath, workspace):
346 346
347 srctree = os.path.abspath(args.srctree) 347 srctree = os.path.abspath(args.srctree)
348 initial_rev = _extract_source(srctree, args.keep_temp, args.branch, True, rd) 348 initial_rev = _extract_source(srctree, args.keep_temp, args.branch, True, rd)
349 logger.info('Source tree extracted to %s' % srctree) 349 logger.info('Source tree %s synchronized' % srctree)
350 350
351 if initial_rev: 351 if initial_rev:
352 return 0 352 return 0
@@ -1326,11 +1326,11 @@ def register_commands(subparsers, context):
1326 parser_extract.add_argument('--keep-temp', action="store_true", help='Keep temporary directory (for debugging)') 1326 parser_extract.add_argument('--keep-temp', action="store_true", help='Keep temporary directory (for debugging)')
1327 parser_extract.set_defaults(func=extract, no_workspace=True) 1327 parser_extract.set_defaults(func=extract, no_workspace=True)
1328 1328
1329 parser_sync = subparsers.add_parser('sync', help='Synchronize the source for an existing recipe', 1329 parser_sync = subparsers.add_parser('sync', help='Synchronize the source tree for an existing recipe',
1330 description='Synchronize the source for an existing recipe', 1330 description='Synchronize the previously extracted source tree for an existing recipe',
1331 formatter_class=argparse.ArgumentDefaultsHelpFormatter) 1331 formatter_class=argparse.ArgumentDefaultsHelpFormatter)
1332 parser_sync.add_argument('recipename', help='Name for recipe to sync the source for') 1332 parser_sync.add_argument('recipename', help='Name of recipe to sync the source for')
1333 parser_sync.add_argument('srctree', help='Path to where to sync the source tree') 1333 parser_sync.add_argument('srctree', help='Path to the source tree')
1334 parser_sync.add_argument('--branch', '-b', default="devtool", help='Name for development branch to checkout') 1334 parser_sync.add_argument('--branch', '-b', default="devtool", help='Name for development branch to checkout')
1335 parser_sync.add_argument('--keep-temp', action="store_true", help='Keep temporary directory (for debugging)') 1335 parser_sync.add_argument('--keep-temp', action="store_true", help='Keep temporary directory (for debugging)')
1336 parser_sync.set_defaults(func=sync) 1336 parser_sync.set_defaults(func=sync)