It's All about Professional work ... Some tips and tricks.. Feel free to Share !!!
While updating if you will get message like bellow, then check,
This will list:
* "A filename" for files that you added
* "M filename" for files that you modified
* "C filename" for files that have conflicts
Conflicts are files that you modified and that were modified on the head revision as well.
@ If u ll get C or conflict then go to that file and remove that lines and duplicate line then it will recover, it because, if more than two developer working on same file and comming on same time then conflict occures,
Files with conflicts will have conflict markers in them. Conflict markers look like:
other person's lines
>>>>>>> current version
If you are using your colleague's checked out code for some changes, after that If you made any changes in code and then if you will try to check-in the code in CVS from your machine,after that if it will ask your colleague's password for checking-in. So How will we resolve this one ?
You deleted from CVS or local server ? if u deleted from both server then i have to see, else if u deleted from either local server or CVS server then do "cvs -q up -Pd "
else do " cvs -q up -Pd -r " .
When I view the "cvs log", the log report is fetching the file but says
"date: 2008/12/31 06:00:51; author: amareshcd; state: Exp; lines: +0 -0"
But I have added with 130 lines. Why the log is not showing "+130 -0" in its report. ?
Use ,"cvs log -d date1 logfile.log"
I have files that went into the Attic. How do I restore them back? Viewing the files revealed that they're in DEAD State. Someone has 'cvs remove'd the files. Just restore them with 'cvs add'. How ?
Find til newest non-dead version
cvs update -r
cvs update -A
cvs commit -m "bring out your dead"