Skip to contentSkip to conversation

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

DISCUSSION Tom Lord 2 participants 3 messages Mar 9, 2002 – Mar 11, 2002

lore
Share & tools
lore

Tom Lord

author
#0 lore raw

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

#1 lore raw
Quoted 9 lines · Tom Lord
       $ 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.)

Come on, Tom, truth in advertising. If you don't have the file identifier in the file, what you just described doesn't work.

Arch has a concept of an "inode" quite similar to BitKeeper, in fact one wonders where the idea came from :-), and as long as the the "inode" is embedded in the file, you can do what Tom says above. If it isn't, that won't work, no matter what he says. I speak from the experience of importing lots of kernel versions into BK and trying to automate the detection of renames. Can't be done and if Tom claims it can, then ask him to demonstrate how by taking a a few thousand kernel patches and autodetecting the renames.

Signature · 2 lines
---
Larry McVoy            	 lm at bitmover.com           http://www.bitmover.com/lm 
author
#2 lore raw

Arch has a concept of an "inode" quite similar to BitKeeper, in fact one wonders where the idea came from :-),

Common sense.

-t