You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Michael March <mm...@gmail.com> on 2007/08/31 16:51:19 UTC

Update a file with a 'checkout'?

Is there anyway to do a server side modification (via the command line) of a
file on an SVN server w/o doing a checkout first.. sort of like how you can
do server-side copies without a checkout? Sort of like do an 'import' over
an existing file..

-- 
<admiral>

Michael F. March ----- mmarch at gmail dot com

          "Seriously" - HSR

Re: Update a file with a 'checkout'?

Posted by Michael March <mm...@gmail.com>.
I have autoversioning turned on and my repo works with DAV clients.. like
the GNOME and XP one.. but I am curious how this would work on the command
line without having to 'mount' the Subversion repo as a drive letter.

thanks!



rote:
>
> > I want to be able to:
> >
> > 1) "svn cat http://server/path/to/repo/file.txt"
> > 2) Modify that file
> > 3) Somehow put the file back on the server.. without doing a traditional
> > 'checkout' first.
>
> Autoversioning could help:
> http://svnbook.red-bean.com/en/1.4/svn.webdav.autoversioning.html
>
>

Re: Update a file with a 'checkout'?

Posted by Rainer Sokoll <R....@intershop.de>.
On Fri, Aug 31, 2007 at 10:22:38AM -0700, Michael March wrote:

> I want to be able to:
> 
> 1) "svn cat http://server/path/to/repo/file.txt"
> 2) Modify that file
> 3) Somehow put the file back on the server.. without doing a traditional
> 'checkout' first.

Autoversioning could help:
http://svnbook.red-bean.com/en/1.4/svn.webdav.autoversioning.html

Rainer

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

Re: Update a file with a 'checkout'?

Posted by Blair Zajac <bl...@orcaware.com>.
Michael March wrote:
> Oops.. I don't think I was explicit enough..
> 
> I want to be able to:
> 
> 1) "svn cat http://server/path/to/repo/file.txt"
> 2) Modify that file
> 3) Somehow put the file back on the server.. without doing a traditional 
> 'checkout' first.

You may be able to use this tool:

http://svn.collab.net/repos/svn/trunk/tools/examples/svnput.c

Regards,
Blair

-- 
Blair Zajac, Ph.D.
http://www.orcaware.com/training/

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

Re: Update a file with a 'checkout'?

Posted by Michael March <mm...@gmail.com>.
Oops.. I don't think I was explicit enough..

I want to be able to:

1) "svn cat http://server/path/to/repo/file.txt"
2) Modify that file
3) Somehow put the file back on the server.. without doing a traditional
'checkout' first.



On 8/31/07, Rainer Sokoll <R....@intershop.de> wrote:
>
> On Fri, Aug 31, 2007 at 09:51:19AM -0700, Michael March wrote:
>
> > Is there anyway to do a server side modification (via the command line)
> of a
> > file on an SVN server w/o doing a checkout first.. sort of like how you
> can
> > do server-side copies without a checkout? Sort of like do an 'import'
> over
> > an existing file..
>
> svn cp <SRC URL> <TARGET URL>
>
> Rainer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>


-- 
<admiral>

Michael F. March ----- mmarch at gmail dot com

Re: Update a file with a 'checkout'?

Posted by Rainer Sokoll <R....@intershop.de>.
On Fri, Aug 31, 2007 at 09:51:19AM -0700, Michael March wrote:

> Is there anyway to do a server side modification (via the command line) of a
> file on an SVN server w/o doing a checkout first.. sort of like how you can
> do server-side copies without a checkout? Sort of like do an 'import' over
> an existing file..

svn cp <SRC URL> <TARGET URL>

Rainer

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