[Top][All Lists]

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

Re: CVS setup

From: Laine Stump
Subject: Re: CVS setup
Date: 06 Apr 2001 15:29:41 -0400
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

address@hidden (Larry Jones) writes:

> Laine Stump writes:
> > 
> > Yes, the unfortunate part is that InstallShield insists on using long
> > names with embedded spaces for directories and files, which leads to
> > odd inconveniences occasionally (eg, cvs -n update doesn't work
> > properly, 
> What goes wrong?

When I look at it more closely, I find:

1) It's not that big a deal.
2) it probably occurs when the directory names *don't* have spaces, too.
   (I just happened to notice it in a directory that had spaces in the name,
   and made a rash assumption).

What I saw was a message like this:

cvs update: New directory `ishield/Setup Files/Compressed 
Files/0009-English/Intel 32' -- ignored

When the given directory is in the repository but empty (and I have -P
in my .cvsrc, ie the directory doesn't exist in my workspace).

When I do update without -n, no message about the empty directory is
printed. It seems like "-n update" should notice that the directory is
empty and -P is on, and print nothing. But, as I said, it's not a big

> > you can't use "find . -print | xargs ...", etc).
> You can if you have the GNU versions of find and xargs:
>       find . -print0 | xargs -0 ...
> (Actually, all you need is GNU xargs:
>       find . -print | tr '\n' '\0' | xargs -0 ...
> although various versions of tr have slightly different syntaxes, so you
> might have to fool around a bit to get exactly the right incantation.)

Cool! Now that you say it, I think I remember seeing that before, but
it didn't stick with me then because I didn't need it. After this,
I promise I'll remember it! ;-)

reply via email to

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