Advertisement

CVS and a laptop?

Started by May 28, 2003 06:23 PM
2 comments, last by avianRR 21 years, 5 months ago
Is it possable to set up a CVS server at home and then somehow have a copy of it on my laptop so that I can get to any of the files in the CVS without being connected to my local network?
------------------------------Piggies, I need more piggies![pig][pig][pig][pig][pig][pig]------------------------------Do not invoke the wrath of the Irken elite. [flaming]
Uh,

Well, you''ll need to sync the CVS repository every so often ( connecting it to the local network most likely depending on your setup ) so that the laptop and the CVS repository at home are consistent.

Essentially it''s just like being a CVS mirror ( sort of ) on the laptop.. except that you probably want to be able to do commit''s to the laptop and push the changes to the CVS repository on your local network.

If you''re the only one updating CVS, this is pretty simple and can be achieved via rsync how ever often you want to make the sync.

So, rsync the CVS repository to your laptop.. then make sure you have CVS setup ( pserver or SSH or something ) on the laptop so you can access it from wherever. Then just rsync any changes to the main CVS repository from the laptop when you get home or whatever the case may be.

Just a thought, assuming this is what you meant.

.zfod
Advertisement
Also,

Check out http://www.cvsup.org/. This is a great tool for doing all sorts of stuff, and of course mirroring


HTH,

.zfod
quote: Original post by zfod
Well, you''ll need to sync the CVS repository every so often ( connecting it to the local network most likely depending on your setup ) so that the laptop and the CVS repository at home are consistent.

sounds good.
quote: Original post by zfod
Essentially it''s just like being a CVS mirror ( sort of ) on the laptop.. except that you probably want to be able to do commit''s to the laptop and push the changes to the CVS repository on your local network.

yes I do.
quote: Original post by zfod
If you''re the only one updating CVS, this is pretty simple and can be achieved via rsync how ever often you want to make the sync.

I am. I''ll look that up.
quote: Original post by zfod
So, rsync the CVS repository to your laptop.. then make sure you have CVS setup ( pserver or SSH or something ) on the laptop so you can access it from wherever. Then just rsync any changes to the main CVS repository from the laptop when you get home or whatever the case may be.

That sounds like what I wana do.

One question. What if I make a change in the files on the laptop and some in the main CVS. Assuming they are different files. will some of my changes get overwritten?
------------------------------Piggies, I need more piggies![pig][pig][pig][pig][pig][pig]------------------------------Do not invoke the wrath of the Irken elite. [flaming]

This topic is closed to new replies.

Advertisement