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