Re: Rename a file in cvs.
should be documented somewhere in the cederquist: (1) make sure that nobody has access to the repository during the operation (2) rename the file in the repository (3) remember that all projects that use this file must now have a new checkout Ramesh Manchanapalli wrote: > > Hi, > I would like to rename a file in cvs with out losing it's history. Is there > any way of doing this. please forward me. > -Thanks > -Ramesh > > ___ > Info-cvs mailing list > [EMAIL PROTECTED] > http://mail.gnu.org/mailman/listinfo/info-cvs -- Dipl.-Ing.(FH) Markus NiebelColour Control Farbmeßtechnik GmbH phone: (+49)(371)4742204Bornaer Straße 205 mail : [EMAIL PROTECTED] 09114 Chemnitz / Germany ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Diff / Status problem
Matthias Kranz wrote: > > > ??? What do you mean with 'cvs diff' cannot detect that the file > has changed. 'cvs diff' should show you the differences between > two revisions of the same file. So if you copy subdir1/File1.hpp > over dir1/File1.hpp > > 1. 'cvs status dir1/File1.hpp' should show you that the file is > "Locally Modified". > This what I expect it to do, but ( I guess since the files have the same timestamps ) the staus is "up to date" > If you then commit this new version to the repository, > > 2. 'cvs diff -r 1.1 -r 1.2 dir1/File1.hpp' should produce an > output with the differences between the two revisions. > I mean the simple case diffing my working version with the revision that was checked out: cvs diff dir1/File1.hpp > If this is not what you mean or what you get, please provide the > exact output of the commandline version. > I played and tested a little bit more - it seems to be caused by the logic of cvs itself: it relies on filetimes. When I change the time for dir1/File1.hpp everything works fine. As I noted, the two files was committed exactly at the same time, and (I think this is the problem) the revision dates of dir1/File1.hpp and dir1/subdir1/File1.hpp are exactly the same. I remember a discussion some weeks ago about using checksums instead of filetimes or in addition to filetimes. > Regards, > Matthias Regards, Markus -- COLOUR CONTROL Farbmeßtechnik GmbH Markus Niebel Bornaer Straße 205 mail: [EMAIL PROTECTED] D-09114 Chemnitz / Germany
Re: Diff / Status problem
thanks, tried with our current setup and 1.10.8 client which comes with wincvs 1.1b14 - same effect. If wincvs self is running it will detect the manipulation - so diff and status will do their work (wincvs 1.06 as well as 1.1b14). Markus Mike Little wrote: > > > -Original Message- > > From: Markus Niebel [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, July 04, 2000 1:23 PM > > To: [EMAIL PROTECTED] > > Subject: Diff / Status problem > > > > > > I asked it yesterday - I post it again since I want to know > > what to do > > against this behaviour. Found nothing in the docs / manuals. > > > > > > Maybe this is an error which may come up in rare > > circumstances and maybe > > it is fixed yet (in which version???) > > > > We're using WinCVS 1.06 and commandline client 1.10.5 on NT > > machines and > > local access to the repo on a linux box via Samba. We detected the > > following problem: > > > >dir1 > > +subdir1 > > |+---File1.hpp > > |+---xxx > > | > > +---File1.hpp > > +---xxx > > > > The File1.hpp-files were added and commited at the same time > > and when I > > make cvs status I can see the same time stamps. But the files have > > definitly > > different contents. When I copy File1.hpp from subdir1 over > > File1.hpp in > > dir1 and wincvs is not running then neither cvs status nor > > cvs diff can > > detect that the file has changed. This is wrong since the project in > > dir1 > > gets broken. > > > > Anyone get an idea what went wrong? > > I think your problem is may be caused by using the windows client > over a samba file mount. > You should use client server for the windows clients. > Also 1.10.5 has bugs which are fixed in the latest version 1.10.8 > > Check the mailing list archives for previous threads on this subject. > > Hope this helps, > > Mike > -- COLOUR CONTROL Farbmeßtechnik GmbH Markus Niebel Bornaer Straße 205 mail: [EMAIL PROTECTED] D-09114 Chemnitz / Germany
Diff / Status problem
I asked it yesterday - I post it again since I want to know what to do against this behaviour. Found nothing in the docs / manuals. Maybe this is an error which may come up in rare circumstances and maybe it is fixed yet (in which version???) We're using WinCVS 1.06 and commandline client 1.10.5 on NT machines and local access to the repo on a linux box via Samba. We detected the following problem: dir1 +subdir1 |+---File1.hpp |+---xxx | +---File1.hpp +---xxx The File1.hpp-files were added and commited at the same time and when I make cvs status I can see the same time stamps. But the files have definitly different contents. When I copy File1.hpp from subdir1 over File1.hpp in dir1 and wincvs is not running then neither cvs status nor cvs diff can detect that the file has changed. This is wrong since the project in dir1 gets broken. Anyone get an idea what went wrong? Tia Markus -- Entwicklungsingenieur COLOUR CONTROL Farbmeßtechnik GmbH Markus Niebel Bornaer Straße 205 mail: [EMAIL PROTECTED] D-09114 Chemnitz / Germany
Diff / Status problem on WinNT
Maybe this is an error which may come up in rare circumstances and maybe it is fixed yet (in which version???) We're using WinCVS 1.06 and commandline client 1.10.5 on NT machines and local access to the repo on a linux box via Samba. We detected the following problem: dir1 +subdir1 |+---File1.hpp |+---xxx | +---File1.hpp +---xxx The File1.hpp-files were added and commited at the same time and when I make cvs status I can see the same time stamps. But the files have definitly different contents. When I copy File1.hpp from subdir1 over File1.hpp in dir1 and wincvs is not running then neither cvs status nor cvs diff can detect that the file has changed. This is wrong since the project in dir1 gets broken. Anyone get an idea what went wrong? Tia Markus -- COLOUR CONTROL Farbmeßtechnik GmbH Markus Niebel Bornaer Straße 205 mail: [EMAIL PROTECTED] D-09114 Chemnitz / Germany
editinfo / rcsinfo
I'm about to introduce cvs for revision control and want to use the editinfo with templates given via rcsinfo. running the cvs commandline version everything is ok but WinCVS (1.0.6) partially ignores the admin files. Yet I found a complete CVSROOT dir as a subdir in my WinCvs installation. Did I miss something to setup or must I use the cvsserver for controlling the repository. Currently we have a Fileserver running Linux which serves the repository via Samba. Our developers using the winCvs client and having CVSROOT as :local:\\pathtoserver\pathtorepository Thanks for helping me Markus -- Entwicklungsingenieur COLOUR CONTROL Farbmeßtechnik GmbH Markus Niebel Bornaer Straße 205 mail: [EMAIL PROTECTED] D-09114 Chemnitz / Germany