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

Re: HowTo: directly modify a file on repos

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: 2007-11-27 19:37:22 CET

On Nov 27, 2007 10:08 AM, gary (guangyuan) sun <garysun04@yahoo.com> wrote:

> Hi all,
>
> I always need to add a line to a file which is in my
> repository. I did that by 3 steps: checkout, modify
> (add a line), and commit.
>
> I don't like checkout the file to my wc again and
> again. Can I directly add a line to the file and
> commit it to my repository?
>
In the tools/examples folder of the subversion source distribution, there is
a file called svnput.c. You may be able to use it. It probably should be
used if you are really sure of what you are doing. Do read the warning at
the top of the file.
That said, given a choice, I will write a script to checkout, update and
commit (as pointed out by Sohail).

Thanks,
-Hari
Received on Tue Nov 27 19:37:56 2007

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.