Fossil SCM
Allow "fossil all ... -U|--user <username>"
Commit
b388e7347d04ce24f830b0e5242e9a6a55ad18e8
Parent
6d09745a6ff9eae…
1 file changed
+4
-3
+4
-3
| --- src/allrepo.c | ||
| +++ src/allrepo.c | ||
| @@ -66,11 +66,11 @@ | ||
| 66 | 66 | |
| 67 | 67 | |
| 68 | 68 | /* |
| 69 | 69 | ** COMMAND: all |
| 70 | 70 | ** |
| 71 | -** Usage: %fossil all (list|ls|pull|push|rebuild|sync) | |
| 71 | +** Usage: %fossil all (changes|ignore|list|ls|pull|push|rebuild|sync) | |
| 72 | 72 | ** |
| 73 | 73 | ** The ~/.fossil file records the location of all repositories for a |
| 74 | 74 | ** user. This command performs certain operations on all repositories |
| 75 | 75 | ** that can be useful before or after a period of disconnected operation. |
| 76 | 76 | ** |
| @@ -77,21 +77,21 @@ | ||
| 77 | 77 | ** On Win32 systems, the file is named "_fossil" and is located in |
| 78 | 78 | ** %LOCALAPPDATA%, %APPDATA% or %HOMEPATH%. |
| 79 | 79 | ** |
| 80 | 80 | ** Available operations are: |
| 81 | 81 | ** |
| 82 | +** changes Shows all local checkouts that have uncommitted changes | |
| 83 | +** | |
| 82 | 84 | ** ignore Arguments are repositories that should be ignored |
| 83 | 85 | ** by subsequent list, pull, push, rebuild, and sync. |
| 84 | 86 | ** The -c|--ckout option causes the listed local checkouts |
| 85 | 87 | ** to be ignored instead. |
| 86 | 88 | ** |
| 87 | 89 | ** list | ls Display the location of all repositories. |
| 88 | 90 | ** The -c|--ckout option causes all local checkouts to be |
| 89 | 91 | ** list instead. |
| 90 | 92 | ** |
| 91 | -** changes Shows all local checkouts that have uncommitted changes | |
| 92 | -** | |
| 93 | 93 | ** pull Run a "pull" operation on all repositories |
| 94 | 94 | ** |
| 95 | 95 | ** push Run a "push" on all repositories |
| 96 | 96 | ** |
| 97 | 97 | ** rebuild Rebuild on all repositories |
| @@ -128,10 +128,11 @@ | ||
| 128 | 128 | } |
| 129 | 129 | n = strlen(g.argv[2]); |
| 130 | 130 | db_open_config(1); |
| 131 | 131 | blob_zero(&extra); |
| 132 | 132 | zCmd = g.argv[2]; |
| 133 | + if( g.zLogin ) blob_appendf(&extra, " -U %s", g.zLogin); | |
| 133 | 134 | if( strncmp(zCmd, "list", n)==0 || strncmp(zCmd,"ls",n)==0 ){ |
| 134 | 135 | zCmd = "list"; |
| 135 | 136 | useCheckouts = find_option("ckout","c",0)!=0; |
| 136 | 137 | }else if( strncmp(zCmd, "push", n)==0 ){ |
| 137 | 138 | zCmd = "push -autourl -R"; |
| 138 | 139 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -66,11 +66,11 @@ | |
| 66 | |
| 67 | |
| 68 | /* |
| 69 | ** COMMAND: all |
| 70 | ** |
| 71 | ** Usage: %fossil all (list|ls|pull|push|rebuild|sync) |
| 72 | ** |
| 73 | ** The ~/.fossil file records the location of all repositories for a |
| 74 | ** user. This command performs certain operations on all repositories |
| 75 | ** that can be useful before or after a period of disconnected operation. |
| 76 | ** |
| @@ -77,21 +77,21 @@ | |
| 77 | ** On Win32 systems, the file is named "_fossil" and is located in |
| 78 | ** %LOCALAPPDATA%, %APPDATA% or %HOMEPATH%. |
| 79 | ** |
| 80 | ** Available operations are: |
| 81 | ** |
| 82 | ** ignore Arguments are repositories that should be ignored |
| 83 | ** by subsequent list, pull, push, rebuild, and sync. |
| 84 | ** The -c|--ckout option causes the listed local checkouts |
| 85 | ** to be ignored instead. |
| 86 | ** |
| 87 | ** list | ls Display the location of all repositories. |
| 88 | ** The -c|--ckout option causes all local checkouts to be |
| 89 | ** list instead. |
| 90 | ** |
| 91 | ** changes Shows all local checkouts that have uncommitted changes |
| 92 | ** |
| 93 | ** pull Run a "pull" operation on all repositories |
| 94 | ** |
| 95 | ** push Run a "push" on all repositories |
| 96 | ** |
| 97 | ** rebuild Rebuild on all repositories |
| @@ -128,10 +128,11 @@ | |
| 128 | } |
| 129 | n = strlen(g.argv[2]); |
| 130 | db_open_config(1); |
| 131 | blob_zero(&extra); |
| 132 | zCmd = g.argv[2]; |
| 133 | if( strncmp(zCmd, "list", n)==0 || strncmp(zCmd,"ls",n)==0 ){ |
| 134 | zCmd = "list"; |
| 135 | useCheckouts = find_option("ckout","c",0)!=0; |
| 136 | }else if( strncmp(zCmd, "push", n)==0 ){ |
| 137 | zCmd = "push -autourl -R"; |
| 138 |
| --- src/allrepo.c | |
| +++ src/allrepo.c | |
| @@ -66,11 +66,11 @@ | |
| 66 | |
| 67 | |
| 68 | /* |
| 69 | ** COMMAND: all |
| 70 | ** |
| 71 | ** Usage: %fossil all (changes|ignore|list|ls|pull|push|rebuild|sync) |
| 72 | ** |
| 73 | ** The ~/.fossil file records the location of all repositories for a |
| 74 | ** user. This command performs certain operations on all repositories |
| 75 | ** that can be useful before or after a period of disconnected operation. |
| 76 | ** |
| @@ -77,21 +77,21 @@ | |
| 77 | ** On Win32 systems, the file is named "_fossil" and is located in |
| 78 | ** %LOCALAPPDATA%, %APPDATA% or %HOMEPATH%. |
| 79 | ** |
| 80 | ** Available operations are: |
| 81 | ** |
| 82 | ** changes Shows all local checkouts that have uncommitted changes |
| 83 | ** |
| 84 | ** ignore Arguments are repositories that should be ignored |
| 85 | ** by subsequent list, pull, push, rebuild, and sync. |
| 86 | ** The -c|--ckout option causes the listed local checkouts |
| 87 | ** to be ignored instead. |
| 88 | ** |
| 89 | ** list | ls Display the location of all repositories. |
| 90 | ** The -c|--ckout option causes all local checkouts to be |
| 91 | ** list instead. |
| 92 | ** |
| 93 | ** pull Run a "pull" operation on all repositories |
| 94 | ** |
| 95 | ** push Run a "push" on all repositories |
| 96 | ** |
| 97 | ** rebuild Rebuild on all repositories |
| @@ -128,10 +128,11 @@ | |
| 128 | } |
| 129 | n = strlen(g.argv[2]); |
| 130 | db_open_config(1); |
| 131 | blob_zero(&extra); |
| 132 | zCmd = g.argv[2]; |
| 133 | if( g.zLogin ) blob_appendf(&extra, " -U %s", g.zLogin); |
| 134 | if( strncmp(zCmd, "list", n)==0 || strncmp(zCmd,"ls",n)==0 ){ |
| 135 | zCmd = "list"; |
| 136 | useCheckouts = find_option("ckout","c",0)!=0; |
| 137 | }else if( strncmp(zCmd, "push", n)==0 ){ |
| 138 | zCmd = "push -autourl -R"; |
| 139 |