Fossil SCM

"stash ls", in addition to "stash list"

bharder 2011-02-15 05:19 bch
Commit 9abf05437bf5ec2a8067485131699dd3eb42e70a
1 file changed +2 -1
+2 -1
--- src/stash.c
+++ src/stash.c
@@ -317,10 +317,11 @@
317317
** are listed, then only stash and revert the named files. The
318318
** "save" verb can be omitted if and only if there are no other
319319
** arguments.
320320
**
321321
** fossil stash list
322
+** fossil stash ls
322323
**
323324
** List all changes sets currently stashed.
324325
**
325326
** fossil stash pop
326327
**
@@ -398,11 +399,11 @@
398399
revert_cmd();
399400
}else
400401
if( memcmp(zCmd, "snapshot", nCmd)==0 ){
401402
stash_create();
402403
}else
403
- if( memcmp(zCmd, "list", nCmd)==0 ){
404
+ if( (memcmp(zCmd, "list", nCmd)==0)||((memcmp(zCmd, "ls", nCmd)==0) )){
404405
Stmt q;
405406
int n = 0;
406407
verify_all_options();
407408
db_prepare(&q,
408409
"SELECT stashid, (SELECT uuid FROM blob WHERE rid=vid),"
409410
--- src/stash.c
+++ src/stash.c
@@ -317,10 +317,11 @@
317 ** are listed, then only stash and revert the named files. The
318 ** "save" verb can be omitted if and only if there are no other
319 ** arguments.
320 **
321 ** fossil stash list
 
322 **
323 ** List all changes sets currently stashed.
324 **
325 ** fossil stash pop
326 **
@@ -398,11 +399,11 @@
398 revert_cmd();
399 }else
400 if( memcmp(zCmd, "snapshot", nCmd)==0 ){
401 stash_create();
402 }else
403 if( memcmp(zCmd, "list", nCmd)==0 ){
404 Stmt q;
405 int n = 0;
406 verify_all_options();
407 db_prepare(&q,
408 "SELECT stashid, (SELECT uuid FROM blob WHERE rid=vid),"
409
--- src/stash.c
+++ src/stash.c
@@ -317,10 +317,11 @@
317 ** are listed, then only stash and revert the named files. The
318 ** "save" verb can be omitted if and only if there are no other
319 ** arguments.
320 **
321 ** fossil stash list
322 ** fossil stash ls
323 **
324 ** List all changes sets currently stashed.
325 **
326 ** fossil stash pop
327 **
@@ -398,11 +399,11 @@
399 revert_cmd();
400 }else
401 if( memcmp(zCmd, "snapshot", nCmd)==0 ){
402 stash_create();
403 }else
404 if( (memcmp(zCmd, "list", nCmd)==0)||((memcmp(zCmd, "ls", nCmd)==0) )){
405 Stmt q;
406 int n = 0;
407 verify_all_options();
408 db_prepare(&q,
409 "SELECT stashid, (SELECT uuid FROM blob WHERE rid=vid),"
410

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button