Bzr on windows and rsync
Mark
mwatts42 at gmail.com
Wed Jun 7 16:32:19 BST 2006
On 6/7/06, John Arbash Meinel <john at arbash-meinel.com> wrote:
>
> Martin Pool wrote:
> > On 6 Jun 2006, Mark <mwatts42 at gmail.com> wrote:
> >> I have searched the help for examples of using rsync on windows
> (windows client
> >> and windows server) but I have not found any. I did find a reference
> that
> >> suggests that some more information on using rsync on windows would
> help, and I
> >> agree.
> >>
> >> I am in a situation where i would like to push/pull changes from a
> repository
> >> hosted on a Windows 2003 Terminal server where I have the following
> >> restrictions
> >> 1) I can't 'install' anything - no rights
> >> 2) I can modify my local path and copy bzr and rsync to directories in
> my
> >> 'home' directory where they would be able to be run from.
> >>
> >> I have never used rsync before and the sheer number of options are a
> bit
> >> overwhelming. I do have a windows version of rsync available but I
> don't know
> >> if this is the 'recomended' version for use on windows.
> >>
> >> rsync version 2.5.7 protocol version 26
> >> Copyright (C) 1996-2002 by Andrew Tridgell and others
> >> <http://rsync.samba.org/>
> >> Capabilities: 64-bit files, socketpairs, hard links, symlinks,
> batchfiles,
> >> no IPv6, 64-bit system inums, 64-bit internal inums
> >
> > If you can put the rsync exe on the machine and run it then bzr should
> > be able to call it. You just need to make sure it's on your PATH so it
> > can be run. You don't need to worry about the options; bzr sets them.
> >
>
>
> I think the biggest problem is that he wants a server process.
> I'm not sure if he is saying he wants to run the rsync server and be
> able to push onto his machine, or if he is just saying he wants to use
> rsync to copy between local paths.
>
> Since Windows 2k3 wouldn't have ssh or rsync or http (or ftp) running,
> I'm not sure how we could access files from remote. I suppose if he
> could share the files over samba, he should be able to access them from
> another machine.
>
> Mark- can you clarify if you are trying to rsync between paths on the
> same machine, or between machines?
>
>
> I am trying to sync between two different machines. Roughly here is my
usecase.
* Update a local bzr repository hosted on a remote TerminalServer machine
from an old legacy revision control system.
* commit the changes to the repository hosted on the remote Terminal Server
* pull the changes from the Terminal Server branch to a local branch hosted
on my computer.
Notes:
* I can edit the user Path environment variable on the Terminal Server but I
can not install anything. Rsync, FTP/SFTP, etc are not available as part of
the install. No web server is running either.
* The repository is > 500 Megs
* the connection to Terminal Server must go through an encrypted VPN
session.
* I can map a drive to my private share on the Terminal Server but this does
standard file copies, which is very slow over the internet, encrypted VPN,
etc. Basicly it takes hours to pull down major updates or a new repo.
The entire reason for these hoops is the legacy revision control system has
no capability to work remotely. IOW, starting the native revision control
library takes > 30 min just to startup. Checkouts take upwards of 12
hours. Needless to say that does not help productivity, so I have tried to
come up with this workaround/kludge. It works but it is still slow. I
would like to speed it up and rsync sounds like it would do it but as I note
above, I can't install it as a service. I have to work entirely within my
own home directory and current sessions.
-mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20060607/aa12df38/attachment.htm
More information about the bazaar
mailing list