submit files failed when using perforce -
the story this: 1. submit group of files server p4 gui, , of files new (mark add), e.g: a.cpp 2. need out files down errors. out , submit. 3. check out files 3. now, a.cpp become a.cpp(0/2). when submit files, come out following errors: out of date .... 4. question , how can submit files again? thanks. or can force submit files no matter errors come?
you give little information in question, guess: seems having trouble trying add a.cpp because has been submitted changelist.
it looks other changelist has submitted a.cpp, , has in fact submitted second revision of it. so
a.cpp(0/2)
is trying tell you have a.cpp open add (you're @ revision 0), while repository records a.cpp @ revision 2.
so need convert add request edit request, follows;
- make copy of a.cpp file somewhere safe
- revert a.cpp, no longer have open
- sync a.cpp, revision #2 in workspace
- open a.cpp edit, can change it
- copy saved copy of a.cpp step (1) workspace directory
- diff copy see changes are
- if you're satisfied changes, submit them
Comments
Post a Comment