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;

  1. make copy of a.cpp file somewhere safe
  2. revert a.cpp, no longer have open
  3. sync a.cpp, revision #2 in workspace
  4. open a.cpp edit, can change it
  5. copy saved copy of a.cpp step (1) workspace directory
  6. diff copy see changes are
  7. if you're satisfied changes, submit them

Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -