Fossil

Check-in [828bf98aff]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Clarify the documentation for the operation of the "info" command. Ticket [74cfdb438a246e46]
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 828bf98aff7509219c7983815dc8d567eb5e2eb8
User & Date: drh 2011-02-25 01:13:23.791
Context
2011-02-25
01:19
Modify the schema to allow additional space for hard-coded tag-ids. Updating to this version requires a "rebuild". check-in: f8b3d24759 user: drh tags: trunk
01:13
Clarify the documentation for the operation of the "info" command. Ticket [74cfdb438a246e46] check-in: 828bf98aff user: drh tags: trunk
2011-02-24
23:41
Immediately stop processing the "all" command if any individual operation fails, unless the --dontstop command-line option is used. check-in: f5a9e8e61e user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/info.c.
119
120
121
122
123
124
125
126
127
128
129
130
131
132



133
134
135
136
137
138
139
  }
}


/*
** COMMAND: info
**
** Usage: %fossil info ?ARTIFACT-ID|FILENAME?
**
** With no arguments, provide information about the current tree.
** If an argument is specified, provide information about the object
** in the respository of the current tree that the argument refers
** to.  Or if the argument is the name of a repository, show
** information about that repository.



*/
void info_cmd(void){
  i64 fsize;
  if( g.argc!=2 && g.argc!=3 ){
    usage("?FILENAME|ARTIFACT-ID?");
  }
  if( g.argc==3 && (fsize = file_size(g.argv[2]))>0 && (fsize&0x1ff)==0 ){







|






>
>
>







119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
  }
}


/*
** COMMAND: info
**
** Usage: %fossil info ?VERSION | REPOSITORY_FILENAME?
**
** With no arguments, provide information about the current tree.
** If an argument is specified, provide information about the object
** in the respository of the current tree that the argument refers
** to.  Or if the argument is the name of a repository, show
** information about that repository.
**
** Use the "finfo" command to get information about a specific
** file in a checkout.
*/
void info_cmd(void){
  i64 fsize;
  if( g.argc!=2 && g.argc!=3 ){
    usage("?FILENAME|ARTIFACT-ID?");
  }
  if( g.argc==3 && (fsize = file_size(g.argv[2]))>0 && (fsize&0x1ff)==0 ){