List Info

Thread: How to check out only differences between two revisions




How to check out only differences between two revisions
country flaguser name
United States
2007-10-01 04:35:55

I've a private home page, which is under CVS now.
When making changes - and tagging old and new version - how can I
check out only those files, which have changed since the old revision?

I'd like to get only those files, which I have to copy to the internet
for updateing my online-version.

The cvs diff command lists me all differences (every line). This in
not what I need.
Trying checkout merge didn't bring sucess so far - may be I made it wrong.

__._,_.___
.

__,_._,___
Re: How to check out only differences between two revisions
country flaguser name
United States
2007-10-01 08:47:04

On 2007-10-01 09:35:55, joachim_lay wrote:

> I've a private home page, which is under CVS now. When making changes -
> and tagging old and new version - how can I check out only those files,
> which have changed since the old revision?
>
> I'd like to get only those files, which I have to copy to the internet
> for updateing my online-version.
>
> The cvs diff command lists me all differences (every line). This in not
> what I need. Trying checkout merge didn't bring sucess so far - may be I
> made it wrong.

You can use CVSNT to copy files to your website on commit, by adding e.g.
an ftp command to the postcommand or postcommit file
<;http://www.cvsnt.org/manual/html/postcommand.html&gt;.

You can also set up a shadow copy and then run an ftp command on it based
on the timestamp. <http://www.cvsnt.org/manual/html/shadow-file.html&gt;

Or you can use this command to find out which files have changed
<http://tinyurl.com/22e8cr> and upload them manually.

Gerhard

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )