1

I need an ability to run "svn update" on a remote machine for a non-technical user, how would I go about it?

Our non-techincal users are using Windows XP and have Tortoise SVN client installed.

I'm thinking to do following but I'm not really in a favor for either so far...

  • Batch (that runs locally on Windows)
  • Shell (runs on a remote machine requires SSH access/client)
  • CGI (that runs on a remote machine via web)
2
  • 1
    Are the users so non-technical that they're unable to right-click on the folder and do an SVN update themselves using TortoiseSVN's context menus?
    – EEAA
    Jun 13, 2011 at 21:42
  • svn update needs to happen on a remote machine not on their local workstations
    – alexus
    Jun 14, 2011 at 14:16

3 Answers 3

0

anyways, so what I end up doing is running CGI, so now they can hit that cgi that runs update

1
  • Whilst it's great that you have an answer to your problem, it would be better if you could elaborate on your solution so that others can benefit.
    – Greg Woods
    Sep 26, 2012 at 8:17
-1

If the remote machine is also running Windows and your users have privileges on the remote machine, I'd recommend giving PsExec a look. Your command on the local machine would look something like:

psexec \\remotemachine -w C:\directory\on\remote\to\run\svnupdate\in svn update

You can specify a username and password with the -u and -p options, respectively.

svn.exe needs to be in the remote machine's PATH otherwise you have to specify its full path on the command line as well.

Wrap that line up in a .cmd file on your non-technical users' desktops and they just double click it to execute svn update on the remote machine.

1
  • remote machine is running Linux
    – alexus
    Jun 30, 2011 at 14:09
-1

I typically use a telephone for this kind of thing. Non-technical users generally know how to use the mouse and the keyboard. I always say something like "I'm going to ask you to type in a command but please do not press the ENTER key until after you read it back to me and we verify that it is correct". Then I get them to open a command window, type C-D-SPACE-BACKWARDSSLASH-S-O-M-E-W-H-E-R-E-ENTER and then S-V-N-SPACE-U-P-D-A-T-E and ask them to read it back and verify that there is a space between the N and the U.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .