lkml.org 
[lkml]   [2002]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kernel SCM: When does CVS fall down where it REALLY matters?



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/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.050 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site