Re: Kernel SCM: When does CVS fall down where it REALLY matters?

Tom Lord (lord@regexps.com)
Sat, 9 Mar 2002 14:22:33 -0800 (PST)


Val Henson:

For a laugh, read the instructions on how to "rename" CVS files.
Hint: "Rename" is not the correct word.

$ mv old new
$ cvs remove old
$ cvs add new
$ cvs commit -m "Renamed old to new" old new

[...] There are two other ways to rename a file in CVS, one of
which is described as "dangerous" and the other as having
"drawbacks." References:

Note that the way to rename a file in in BitKeeper is:

$ bk mv old new

No danger, no drawbacks, no hand editing of history files.

I like the arch way of renaming a file:

$ mv old new

(Yes, history is preserved, etc.)

-t
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/