info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ignore resources which had been committed?


From: Carl Chen
Subject: Re: Ignore resources which had been committed?
Date: Wed, 21 Mar 2007 22:19:19 +0800

We are using cvs 1.11.22, the latest version. It can work fine with Eclipse
3.2.
Please try to update your configure.

Message: 1
Date: Wed, 21 Mar 2007 11:49:22 +0100
From: Spiro Trikaliotis <address@hidden>
Subject: Re: Ignore resources which had been committed?
To: Hans Schwaebli <address@hidden>, address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

Hello Hans,

* On Wed, Mar 21, 2007 at 03:22:03AM -0700 Hans Schwaebli wrote:
> 
> Client: Concurrent Versions System (CVS) 1.11.2 (client/server)
> Server: Concurrent Versions System (CVS) 1.11.5 (client/server)

Note that both versions are rather old and full of bugs. I would highly
recommend to update to a more recent 1.11.x version. (Although, the
problems you are having are not related to this).


> Concerning the commands used: The ones which Eclipse 3.2.2 uses...
> Besides that, we have to use the CVS version which Eclipse supports.
> The people at Eclipse don't seem to agree with the latest CVS
> developments.

Well, I do not agree with the Eclipse developments, so.... ;)

 
> To exclude Eclipse from being the reason for this, I used a new
> workspace, but the problems remained. It is not possible for me to
> purge this information that it has been checked in once.

Well, I either misunderstood you in the first place, or you were not
exact:

>    cvs add "/Test/src/test/xfolder"
>        Directory \CVSREP/Test/src/test/xfolder added to the repository
>    ok (took 0:00.297)
>    ***
[...]
>    I deleted xfolder and checked it in:

You CANNOT check in deleted folders. This is not even possible with SVN,
AFAIK.

What you have checked in is the removed xfolder/xfile:

>    ***
>    cvs ci -m -l "/Test/src/test/xfolder/xfile.txt"
>        Removing src/test/xfolder/xfile.txt;
>        \CVSREP/Test/src/test/xfolder/xfile.txt,v  <--  xfile.txt
>        new revision: delete; previous revision: 1.1
>        done
>    ok (took 0:00.188)
>    ***

If you would use "cvs up -d" afterwards, the folder would reappear.
Anyway, since Eclipse seems to use "-P" additionally, xfolder/ will be
deleted immediately.

 
>    Then I created the xfolder again and wanted to ignore it.

Indeed, THIS is not possible. xfolder is in the repository, thus, CVS
will handle it, regardless of what you do.

>    But Eclipse
>    does not allow me to ignore it, but to commit it. So I created a
>    .cvsignore file and added "xfolder". But Eclipse didn't ignore it.

CVS cannot ignore the directory xfolder/. .cvsignore is used for files
and directories which are not under the control of CVS. Since xfolder/
was checked in, it is under the control of CVS. You cannot change this.


Your best bet might be: Disregard using "-P" on update and checkout, and
put a .cvsignore file INTO xfolder/.


HTH,
   Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/




------------------------------







reply via email to

[Prev in Thread] Current Thread [Next in Thread]