class ClientApi;
class ClientUser;
class Error;
class RBFile;
class StrBuf;
class StrPtr;
class VarArray;
class RollBack
{
public:
RollBack( const char* cmd );
~RollBack(void);
void Run( ClientApi* c, ClientUser* ui, int argc, char** argv );
void ProcessFile( const StrPtr& path, int rev, int action );
void SetTagged() { tagged = true; };
void HandleError( Error* err );
private:
ClientApi* client;
ClientUser* ui;
bool tagged;
StrBuf* change;
bool editReadded; //use "p4 edit" to rollback re-added deletes
bool delEdited; //use "p4 delete" to rollback edited adds
bool addDeleted; //use "p4 add" to rollback deleted edits
bool backLoaded;
VarArray* files;
int cursor;
StrBuf* cmdName;
void RollFile( RBFile* file );
};
# |
Change |
User |
Description |
Committed |
|
#1
|
6342 |
Sam Stafford |
Branching px to make a fix. |
|
|
//guest/shawn_hladky/px/src/commands/rollback/RollBack.h |
#1
|
6331 |
Shawn Hladky |
Integrating rollback into px |
|
|
//guest/sam_stafford/rollback/RollBack.h |
#1
|
6291 |
Sam Stafford |
C++ implementation of p4rollback.pl. |
|
|