[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Single File Checkout

From: Shatzer, Larry <Larry.Shatzer_at_Spirent.com>
Date: 2004-04-03 00:11:04 CEST

Thanks for the idea! Attached is a very crude perl script that uses LWP to
take care of all the HTTP/DeltaV transactions. It needs work, of course,
since I don't like parsing XML by regular expressions. I just wanted a
working script and then polish it up.

I used a packet sniffer to get the all the DeltaV activities, so there are
more steps I used than you listed.

deltavputfile.pl --username user --password password --remotefile
http://server/path/to/file.txt --localfile file.txt --message "Commit
message" [--verbose]

-- Larry

> -----Original Message-----
> From: Ben Collins-Sussman [mailto:sussman@collab.net]
> Sent: Wednesday, March 31, 2004 4:47 PM
> To: Shatzer, Larry
> Cc: 'users@subversion.tigris.org'
> Subject: Re: Single File Checkout
> As a workaround, someone could certainly write a small
> program (either
> in C or python) to do this all in DeltaV:
> * create a server-side workspace (MKACTIVITY)
> * make the file editable in that workspace(CHECKOUT foo.c)
> * upload the new version of the file (PUT foo.c)
> * commit the workspace (MERGE)
> Any takers? :-)

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

Received on Sat Apr 3 00:12:39 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.