4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
|
** with the local repository. If you commit this check-out,
** it will become a new "initial" commit in the repository.
** -f|--force Continue with the open even if the working directory is
** not empty, or if auto-sync fails.
** --force-missing Force opening a repository with missing content
** -k|--keep Only modify the manifest file(s)
** --nested Allow opening a repository inside an opened check-out
** --nosync Do not auto-sync the repository prior to opening even
** if the autosync setting is on.
** --repodir DIR If REPOSITORY is a URI that will be cloned, store
** the clone in DIR rather than in "."
** --setmtime Set timestamps of all files to match their SCM-side
** times (the timestamp of the last check-in which modified
** them).
** --verbose If passed a URI then this flag is passed on to the clone
|
|
|
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
|
** with the local repository. If you commit this check-out,
** it will become a new "initial" commit in the repository.
** -f|--force Continue with the open even if the working directory is
** not empty, or if auto-sync fails.
** --force-missing Force opening a repository with missing content
** -k|--keep Only modify the manifest file(s)
** --nested Allow opening a repository inside an opened check-out
** --no-sync Do not auto-sync the repository prior to opening even
** if the autosync setting is on.
** --repodir DIR If REPOSITORY is a URI that will be cloned, store
** the clone in DIR rather than in "."
** --setmtime Set timestamps of all files to match their SCM-side
** times (the timestamp of the last check-in which modified
** them).
** --verbose If passed a URI then this flag is passed on to the clone
|
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
|
keepFlag = find_option("keep","k",0)!=0;
forceMissingFlag = find_option("force-missing",0,0)!=0;
allowNested = find_option("nested",0,0)!=0;
setmtimeFlag = find_option("setmtime",0,0)!=0;
zWorkDir = find_option("workdir",0,1);
zRepoDir = find_option("repodir",0,1);
bForce = find_option("force","f",0)!=0;
if( find_option("nosync",0,0) ) g.fNoSync = 1;
bVerbose = find_option("verbose",0,0)!=0;
zPwd = file_getcwd(0,0);
/* We should be done with options.. */
verify_all_options();
if( g.argc!=3 && g.argc!=4 ){
|
|
|
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
|
keepFlag = find_option("keep","k",0)!=0;
forceMissingFlag = find_option("force-missing",0,0)!=0;
allowNested = find_option("nested",0,0)!=0;
setmtimeFlag = find_option("setmtime",0,0)!=0;
zWorkDir = find_option("workdir",0,1);
zRepoDir = find_option("repodir",0,1);
bForce = find_option("force","f",0)!=0;
if( find_option("no-sync",0,0) || find_option("nosync",0,0) ) g.fNoSync = 1;
bVerbose = find_option("verbose",0,0)!=0;
zPwd = file_getcwd(0,0);
/* We should be done with options.. */
verify_all_options();
if( g.argc!=3 && g.argc!=4 ){
|