• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CVS extra files

 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, the .svn directory on Win has the 'H' attribute set.

Guy
 
Marilyn de Queiroz
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for the info
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
When all four tires fall off your canoe, how many tiny ads does it take to build a doghouse?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic