Fossil

Changes On Branch stash_mk
Login

Changes On Branch stash_mk

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

Changes In Branch stash_mk Excluding Merge-Ins

This is equivalent to a diff from ae73c07b to 4e0274bb

2011-02-17
13:43
Print the SSH command that is issued for ssh: access, scrubbed of any password content. Remove redundant -e and -T options from the ssh command. ... (check-in: f63ff9fc user: drh tags: trunk)
08:15
Enable a “stash make” subcommand as an alias for “stash snapshot” ... (Closed-Leaf check-in: 4e0274bb user: BM tags: stash_mk)
00:05
Merge in Brad Harder's "stash ls" command. ... (check-in: ae73c07b user: drh tags: trunk)
2011-02-16
23:47
Update to the latest pre-release SQLite version (as part of the SQLite testing process). Update the makefiles to use SQLITE_ENABLE_STAT2. ... (check-in: c616cef3 user: drh tags: trunk)
22:55
merge trunk ... (Closed-Leaf check-in: 0eaf7528 user: bharder tags: bch)

Changes to src/stash.c.

345
346
347
348
349
350
351

352
353
354
355
356
357
358
**
**  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...?

**
**     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?
**







>







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
      g.argv = newArgv;
      g.argc = nFile+2;
      if( nFile==0 ) return;
    }
    g.argv[1] = "revert";
    revert_cmd();
  }else
  if( memcmp(zCmd, "snapshot", 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,







|







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 || 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,