Slashdot Mirror


User: neonleonb

neonleonb's activity in the archive.

Stories
0
Comments
102
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 102

  1. Re:How does he handle renaming and erasing in CVS? on Home Directory In CVS · · Score: 1

    The cvs log of $2 will show the addition of the file, but the log of the file's creation will show that it is a renaming, so you can access the rest of the history from file 1's history. It's not perfect, but it works.

    I wasn't claiming that CVS was the solution to all problems. I'm sure that there's a better solution out there. I just wanted to point out that there is a partial workaround.

  2. Re:How does he handle renaming and erasing in CVS? on Home Directory In CVS · · Score: 5, Interesting

    Alias mv to execute some shell script:
    mv $1 $2
    cvs remove $1
    cvs add $2
    cvs commit -m "move $1 $2" $1 $2
    You might want to add some script to deal with the case where $2 is a directory, but that shouldn't be too hard.

    That way, information about the move and the previous file status is kept.