perforce doesn't overwrite file when forcing revision -
my problem not "scary" issue of perforce overwriting files, opposite, doesn't.
i want synchronized code other people wrote, doing in perforce: "get revision" , "force operation" stream submitting work (after saving backup of course file working on in computer), when open file in eclipse remains changes.
further - doing small, deliberate changes in file, , "get revision" , "force operation" it, , same happens.
i have been working in same workspace last days, , when did yesterday overwrote files, expected.
also, in "submitted" tab in perforce file not in list, didn't accidentally submitted somehow.
also, opening file file system, changes remain, doesn't seem problem eclipse refreshing or that.
ay idea, anyone?
if file recorded "open" in perforce (i.e. returned "p4 opened" command, or appears in "pending changes" tab in gui), force-sync won't overwrite it, because you're still working on it. if want discard changes else submitted, 1 of these 2 things:
- sync normal, resolve "accept theirs".
- sync normal, revert. (or revert, sync.)
the first option leaves file open; second option not.
if want save backup of current work in perforce (without submitting it), rather making local copy of it, can "shelve" pending changelist, , "unshelve" @ later date return workspace shelved state.
Comments
Post a Comment