[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: cvs import ignore
From: |
Koziel, Ryan |
Subject: |
RE: cvs import ignore |
Date: |
Tue, 22 May 2007 14:51:48 -0500 |
James,
You will have the same problem when you branch too regarding the empty
folders. I did the same thing you did, just create a dummy file and
leave it in the empty folder(s) so the folder is always created in the
branch. Haven't had a problem since, and it has been a couple of years.
We had a 'bin' folder that was empty and all projects compiled the
output to this 'bin' folder - which wasn't there after I imported or
branched. We could have tweaked the build to create the folder first,
but there were a lot of situations like this with the builds and a lot
of code that needed to be changed to accommodate. The dummy file seemed
the easiest and least-disruptive choice.
For the .so file. That is binary. You need to import this file in
differently than other, non-binary, files. I noticed this behavior too
when importing my projects initially. I just compiled a list of these
binaries and added them manually with the -kb arguments. I don't know if
CVS skips it on import due to it being binary or what...maybe it didn't
skip it and I am off. But either way, these need to be handled
differently.
http://ximbiot.com/cvs/manual/cvs-1.11.7/cvs_9.html#SEC80
NOTE: The above link applies to the version of CVS that I am working
with. Backup to http://ximbiot.com and navigate to your version.
-Ryan
-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of James. L
Sent: Tuesday, May 22, 2007 1:39 PM
To: Larry Jones
Cc: address@hidden
Subject: Re: cvs import ignore
--- Larry Jones <address@hidden> wrote:
> James. L writes:
> >
> > it turns out that those are empty directories.
> once i
> > create a dummy file, the directory import is fine.
> >
> > why cvs behaving like this?
>
> Because CVS manages files, not directories.
>
i see. thanks.
> > it also ignores .so file
> > as mentioned in the cvs ignore list. what's the
> reason
> > behine this?
>
> .so is used for shared libraries on most Unix systems.
>
for some projects i do need to include a .so file - for example a perl
CPAN module may require compilation and generate a .so file.
i have no problem cvs doing this. but that means i have to keep
remembering checkin the .so files. the same goes for empty directories..
it feels like CVS gets in the way.
> -Larry Jones
>
James.
________________________________________________________________________
____________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html