• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CVS extra files

 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I use CVS I see that there are always extra files like "Entries", "Repository", and "Root". I've heard that there is a flag ('-R'?) that will prevent these files from appearing on my local drive, but I wonder if that would cause problems when I try to commit my changes.

Does SubVersion have extra files like this?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33713
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Marilyn,
-R means to operate recursively, so that wouldn't be it. -r is to create a sticky version. That means you can't check in code against it (the version.) As far as I know it still creates those special files though.

If you were able to not create those files or ran a script to delete them, CVS wouldn't know where to check the files in again. I haven't tried it, but I suspect it wouldn't work.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne's spot on, those files are the heart and soul of CVS. Without them, it just won't work. I'm not sure how Subversion works in this regard.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Subversion creates similar files. The repository information has to go somewhere. The difference is that with svn, those files are in a directory named ".svn", starting with a dot. On UNIX-like systems, this is a hidden directory. I don't know about svn on Windows -- whether the directory is hidden or not.
 
Guy Allard
Ranch Hand
Posts: 776
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, the .svn directory on Win has the 'H' attribute set.

Guy
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the info
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17646
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been working with the subversion-based Apache Directory Project, and its Subversion files appear to be more intrusive than that, but maybe it's just an artifact of whatever the heck they think they're doing.

The way to get a copy of the CVS code without the CVS info attached is to use the CVS export command.

Of course, without the CVS info in it, there's no easy way to update CVS against the exported copy, but the purpose of CVS export is to ship stuff out to places that don't want/can't use those CVS files in their copy of the project.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic