You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "H.S." <hs...@gmail.com> on 2008/10/29 23:57:52 UTC

working from two machines

Hello,

I am working on a project which I have hosted as a repository on our
university's network. The repository is on my home directory.

Now, I either work in my lab at the univ. or from home. Till now I have
been using my univ. computer only for svn commands (update, commit,
etc.). I just rsync from my lab machine to my home machine when I want
to work from home and then rsync back to update my lab machine. The
rsync command I use at home is this:
$> rsync  -auCvze ssh  ./ labmachine:~/project/

However, this way I cannot give svn commands at my home machine. It
would be nice to do so though. Basically, only my lab machine is the
working copy in this situation.

What do others do in such a situation? Sorry if this is a basic
question. I am relatively new to SVN.

I am trying to see if there is a way such that I can use both my lab
machine and home machine copies of the source code as working copies.
The way I understand is that when I am in the middle of some change, I
will have to commit back from home or lab in that unfinished state,
update my copy at home or lab and then continue working. Is this what is
commonly done in such situations?

Or perhaps there is way to rsync between two working copies while I am
working on an unfinished change?

Thanks,
Regards.



-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: working from two machines

Posted by Les Mikesell <le...@gmail.com>.
H.S. wrote:
> 
> I am working on a project which I have hosted as a repository on our
> university's network. The repository is on my home directory.
> 
> Now, I either work in my lab at the univ. or from home. Till now I have
> been using my univ. computer only for svn commands (update, commit,
> etc.). I just rsync from my lab machine to my home machine when I want
> to work from home and then rsync back to update my lab machine. The
> rsync command I use at home is this:
> $> rsync  -auCvze ssh  ./ labmachine:~/project/
> 
> However, this way I cannot give svn commands at my home machine. It
> would be nice to do so though. Basically, only my lab machine is the
> working copy in this situation.
> 
> What do others do in such a situation? Sorry if this is a basic
> question. I am relatively new to SVN.
> 
> I am trying to see if there is a way such that I can use both my lab
> machine and home machine copies of the source code as working copies.
> The way I understand is that when I am in the middle of some change, I
> will have to commit back from home or lab in that unfinished state,
> update my copy at home or lab and then continue working. Is this what is
> commonly done in such situations?

Unless your partially finished work would confuse someone else (and you 
could branch if it would), the straightforward way is to check out 2 
working copies and commit/update as you switch locations.

> Or perhaps there is way to rsync between two working copies while I am
> working on an unfinished change?

That works too - if you omit the -C option on the rsync command you'll 
bring along the metadata needed to access the repository - and 
subversion doesn't track where the working copy is.  Either way you have 
to be careful to commit/update or rsync every time you change locations. 
  If you have reasonable bandwidth/latency and it is permitted, you 
might try some form of remote access to the machine holding the working 
copy.  Remote Desktop on Windows or www.nomachine.com's NX (or the 
freenx variation) for X systems can be surprisingly responsive.

-- 
   Les Mikesell
    lesmikesell@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: working from two machines

Posted by David Weintraub <qa...@gmail.com>.
You can look at SVK: <http://svk.bestpractical.com/view/InstallingSVK>.

This allows you to use a sub-repository at your home, and then post
the changes to your main repository in your University.

Question: Do you have remote access from your University's system? If
you do, why not simply checkout at home directly from the repository?

--
David Weintraub
qazwart@gmail.com



On Wed, Oct 29, 2008 at 7:57 PM, H.S. <hs...@gmail.com> wrote:
> Hello,
>
> I am working on a project which I have hosted as a repository on our
> university's network. The repository is on my home directory.
>
> Now, I either work in my lab at the univ. or from home. Till now I have
> been using my univ. computer only for svn commands (update, commit,
> etc.). I just rsync from my lab machine to my home machine when I want
> to work from home and then rsync back to update my lab machine. The
> rsync command I use at home is this:
> $> rsync  -auCvze ssh  ./ labmachine:~/project/
>
> However, this way I cannot give svn commands at my home machine. It
> would be nice to do so though. Basically, only my lab machine is the
> working copy in this situation.
>
> What do others do in such a situation? Sorry if this is a basic
> question. I am relatively new to SVN.
>
> I am trying to see if there is a way such that I can use both my lab
> machine and home machine copies of the source code as working copies.
> The way I understand is that when I am in the middle of some change, I
> will have to commit back from home or lab in that unfinished state,
> update my copy at home or lab and then continue working. Is this what is
> commonly done in such situations?
>
> Or perhaps there is way to rsync between two working copies while I am
> working on an unfinished change?
>
> Thanks,
> Regards.
>
>
>
> --
>
> Please reply to this list only. I read this list on its corresponding
> newsgroup on gmane.org. Replies sent to my email address are just
> filtered to a folder in my mailbox and get periodically deleted without
> ever having been read.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org