Differences From Artifact [e12e4a6e5b]:
- File src/stash.c — part of check-in [c2df31dae8] at 2015-05-26 21:46:00 on branch mvRmHardFix — Enhance file_tree_name() to be capable of producing absolute paths within the local tree. Fix --hard option to mv/rm to enable it to work properly with relative paths. (user: mistachkin size: 21700) [more...]
To Artifact [c8b20236b7]:
- File src/stash.c — part of check-in [a50be7b87a] at 2015-07-15 20:15:22 on branch trunk — Further enhancements to the 'undo' subsystem integration. (user: mistachkin size: 21722) [more...]
| ︙ | |||
501 502 503 504 505 506 507 508 509 510 511 512 513 514 | 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 | + |
Stmt q;
db_prepare(&q,"SELECT origname FROM stashfile WHERE stashid=%d", stashid);
while( db_step(&q)==SQLITE_ROW ){
newArgv[i++] = mprintf("%s%s", g.zLocalRoot, db_column_text(&q, 0));
}
db_finalize(&q);
newArgv[0] = g.argv[0];
newArgv[1] = 0;
g.argv = newArgv;
g.argc = nFile+2;
if( nFile==0 ) return;
}
g.argv[1] = "revert";
revert_cmd();
}else
|
| ︙ |