345
346
347
348
349
350
351
352
353
354
355
356
357
358
|
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
|
+
|
**
** fossil stash drop ?STASHID? ?--all?
**
** Forget everything about STASHID. Forget the whole stash if the
** --all flag is used. Individual drops are undoable but --all is not.
**
** fossil stash snapshot ?-m COMMENT? ?FILES...?
** fossil stash make ?-m COMMENT? ?FILES...?
**
** Save the current changes in the working tress as a new stash
** but, unlike "save", do not revert those changes.
**
** fossil stash diff ?STASHID?
** fossil stash gdiff ?STASHID?
**
|
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
|
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
|
-
+
|
g.argv = newArgv;
g.argc = nFile+2;
if( nFile==0 ) return;
}
g.argv[1] = "revert";
revert_cmd();
}else
if( memcmp(zCmd, "snapshot", nCmd)==0 ){
if( memcmp(zCmd, "snapshot", nCmd)==0 || memcmp(zCmd, "make", nCmd)==0 ){
stash_create();
}else
if( memcmp(zCmd, "list", nCmd)==0 || memcmp(zCmd, "ls", nCmd)==0 ){
Stmt q;
int n = 0;
verify_all_options();
db_prepare(&q,
|