Hello Yadir, * On Fri, Mar 19, 2010 at 03:28:27PM -0400 Yasir, Zamir wrote:
> We are working in real env. and lost cvs directory which was using > between different developers, Does any body have idea retrieving cvs > directory in AIX env. I assume you lost the directory some/path/CVS. If you can do a "cvs up" from inside of some/, then I would advise to do the following: 1. Move away the path/ directory: some...@somewhere:some$ mv path path.old 2. Now, do a "cvs update" with -d option to regenerate directories not locally available: some...@somewhere:some$ cvs up This will generate some/path/, along with some/path/CVS/ 3. Now, diff and patch (or copy, if you are really sure what you are doing) the changes from some/path.old/ to some/path/. If you use diff, don't forget to ignore differences in CVS/ directory by using "-x CVS", like: some...@somewhere:some$ diff -urNx CVS path path.old > 1.diff some...@somewhere:some$ cd path/ some...@somewhere:some/path$ patch -p1 < ../1.diff 4. Do a "cvs diff" to make sure you only added the changes you did locally (someone might have changed files on the CVS server in the meantime!). If there are any changes you did not do youself, make sure to undo them. Otherwise, you will undo the changes of your co-workers! 5. When you are really sure some/path/ is correct, you can remove some/path.old. I would highly recommend to check twice and thrice before doing this! HTH, Spiro. -- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/
