From c983863c4c5506878b06d387d40d486131e124a9 Mon Sep 17 00:00:00 2001 From: Bill Sacks Date: Mon, 13 Jul 2020 13:06:07 -0600 Subject: [PATCH] Add another option for dealing with modified externals Suggested by @gold2718 --- manic/checkout.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/manic/checkout.py b/manic/checkout.py index 5882c06c1..222065553 100755 --- a/manic/checkout.py +++ b/manic/checkout.py @@ -392,7 +392,7 @@ def main(args): # exit gracefully msg = """The external repositories labeled with 'M' above are not in a clean state. -The following are two options for how to proceed: +The following are three options for how to proceed: (1) Go into each external that is not in a clean state and issue either a 'git status' or an 'svn status' command (depending on whether the external is managed by git or @@ -407,6 +407,11 @@ def main(args): commands to checkout the appropriate tags for each external, as given in {config_file}.) +(3) You can also use {program_name} to manage most, but not all externals: You can specify + one or more externals to ignore using the '-x' or '--exclude' argument to + {program_name}. Excluding externals labeled with 'M' will allow {program_name} to + update the other, non-excluded externals. + The external repositories labeled with '?' above are not under version control using the expected protocol. If you are sure you want to switch