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

Re: solution for a weird use case

From: Gowri C P <gowricp_at_gmail.com>
Date: Tue, 10 Jun 2008 08:12:57 -0500

Hi Hari,

You don't need working copies to add files. New files are not yet part of
the repository and adding them is not a problem. You apparently can do a
delta with a local copy and the HEAD version of a file and just apply the
delta like so:

http://www.nabble.com/need-solution-for-an-unusual-use-case-td17700081.html#a17755093

Regards,
Gowri

On Mon, Jun 9, 2008 at 4:20 PM, Hari Kodungallur <hkodungallur_at_gmail.com>
wrote:

>
>
> On Fri, Jun 6, 2008 at 11:26 AM, Gowri <gowricp_at_gmail.com> wrote:
>
>> Hi all,
>>
>> I suppose this is not at all a common problem and I am not sure how to
>> solve this but here's what I do:
>>
>> I use the java library from tmatesoft to do a commit of some files
>> from a tool that I'm writing. basically, the user uses this tool to
>> trigger a simulation which writes some files to a directory. Now, the
>> user expects the tool to add all of these files to SVN. If the files
>> are modified (by hand or by changing some parameters on teh GUI whose
>> values go into some files) then the user would like to commit them
>> again by using this tool.
>>
>> My problem is:
>> Adding files for the first time is easy enough but how do I update
>> files later (because the users do not check out these output files and
>> hence we do not have a concept of working copies)
>>
>> I'd really appreciate all the help I can get.
>>
>>
>
> I am not sure I understand the question clearly. Without the concept of
> working copies, how do you add the files [Unless you are importing them]?
> You need working copies even to add files. That said, I do not know how the
> tool that you mention works. Did you check with tmatesoft?
>
> Regards,
> -Hari
>
Received on 2008-06-10 23:34:17 CEST

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.