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

Re: WebMasters.html



佐野@浜松です。

  at Thu, 11 May 2000 07:49:33 +0900,
 Fumitoshi UKAI <ukai@debian.or.jp> さん writes:

>  cvs update -dPR
> 
> ですね。 ~/.cvsrc に 
> 
> update -dPR
> 
> とかいれておくとよいでしょう。


おおお、知らなかった !!! (< 無知なやつ)

なるほど、これは便利そうですね。どうもありがとうございます。

   COMMON COMMAND OPTIONS

       -P     Prune (remove) directories  that  are  empty  after
              being  updated,  on checkout, or update.  Normally,
              an empty directory (one that is void  of  revision-
              controlled  files)  is  left  alone.  Specifying -P
              will cause these directories to be silently removed
              from  your  checked-out  sources.   This  does  not
              remove the directory from the repository, only from
              your  checked  out  copy.  Note that this option is
              implied by the -r or -D  options  of  checkout  and
              export.

       update [-AdflPpQqR] [-d] [-r tag|-D date] files...
              Requires: repository, working directory.
              Changes: working directory.

            Use  the  -d  option  to  create any directories that
            exist in the repository if they're missing  from  the
            working  directory.   (Normally,  update acts only on
            directories and files that were already  enrolled  in
            your working directory.)  This is useful for updating
            directories that were created in the repository since
            the  initial checkout; but it has an unfortunate side
            effect.  If you deliberately avoided certain directo-
            ries  in the repository when you created your working
            directory (either through use of a module name or  by
            listing  explicitly  the  files  and  directories you
            wanted on the command line), then  updating  with  -d
            will  create those directories, which may not be what
            you want.

            The  standard cvs command options -f, -k, -l, -P, -p,
            and -r are also available with update.

なるほど。

手元の ~/.cvsrc には

   cvs -z3
   checkout -P
   update -dP
   diff -u
   log -N

と書いてありました。 R が足りなかったのか。

-- 
     # (わたしのおうちは浜松市、「夜のお菓子」で有名さ。)
    <kgh12351@xxxxxxxxxxx> : Taketoshi Sano (佐野 武俊)