[Top][All Lists]

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

Re: How to create patch for project?

From: Alexander Taler
Subject: Re: How to create patch for project?
Date: Tue, 31 Aug 2004 23:32:57 -0400

Hash: SHA1

>>>>> "Mak" == Mak  <address@hidden> writes:
  Mak> I have a situation where I cannot understand how rdiff can help me. I
  Mak> have a CVS repository where I do development for a client. To ship code,
  Mak> I checkout the project to a clean area without cvs information and ship
  Mak> only the code to him. The client does *not* use CVS in any way, shape of
  Mak> form.

  Mak> I'm now at a point where I now need to send him only revised files. I
  Mak> need a process to checkout the project with only the files that were
  Mak> changed between the last tag and now. Complete file that can be used to
  Mak> overwrite the old ones. The directory structure also need to be
  Mak> maintained (naturally!!)

  Mak> How would I do this? Any help is appreciated.

My guess is that the only way to do this with regular CVS would
be a two step process, get a list of the names of files that
changed, and then extract the latest versions of those files.
One problem you'll face is how to treat files that have been

In light of the removed files problem, you might want to
reconsider your approach, and just send the whole thing again,
but with a ChangeLog.  Unless of course you have a good reason to
send incremental updates.

If you are interested, LibCVS may be able to help you.  In the
new Perl release the lcvs-logsummary ChangeLog generator could be
adapted to meet your needs.  I would be happy to help out.


- --    Access CVS through a library. 
PGP:  ID: 0x23DC453B  FPR: 42D0 66C2 9FF8 553A 373A  B819 4C34 93BA 23DC 453B
For every great name in history a hundred others might have been substituted.
        -- Elias Canetti.  Crowds and Power.  (trans Carol Stewart)
Version: GnuPG v1.2.1 (OpenBSD)
Comment: Processed by Mailcrypt 3.5.8 <>


reply via email to

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