lkml.org 
[lkml]   [2002]   [Mar]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 9 Mar 2002 14:22:33 -0800 (PST)
FromTom Lord <>
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    [from the cache]
©2003-2008