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

RE: [Subclipse-users] Tag freezes svn:externals

From: Lira Olavo <Olavo.LIRA_at_gemalto.com>
Date: 2007-02-21 18:53:45 CET

But with the svncopy.pl.in script, there is no API also, the idea is (if the user wants) to change the svn:externals to include the revision before you call the svncopy. You don't need a new API to do that right?

The algo is more or less like this:

- If the user wants the -r option then:
- propget to see where is the svn:externals
- get the version of the url (you have already this info)
- propset the svn:external now with the -r option
... Natural flow
- do the commit

        Probably you know even a better way to do this.

        Why it can't be implemented?

============
Olavo Lira

________________________________________
From: Mark Phippard [mailto:markphip@gmail.com]
Sent: Wednesday, February 21, 2007 9:22 AM
To: users@subclipse.tigris.org
Subject: Re: [Subclipse-users] Tag freezes svn:externals

On 2/21/07, Lira Olavo <Olavo.LIRA@gemalto.com> wrote:
Hello Mark,

        From what I understand of Subversion actually there is no way for subversion to know that I'm doing a TAG, for the server is just another svncopy right?
        So the solution must be implemented in the client part like this svncopy.pl script that I found and do the trick for me, but this is command line.

http://svn.collab.net/repos/svn/trunk/contrib/client-side/svncopy.pl.in

        Can't you do something like this in Subclipse? This is very, very important for me, and although I'm not a expert in plugin at all, I'm willing to help implement it if you show me the way.

No, we can't.  Subversion does expose any API to us that would allow us to do this. If you wanted it implemented you would first have to figure out what API's exist at the C-level that can do this.  The Perl script might shed some light on that.  Whatever API exists would then have to be exposed to the JavaHL bindings, ideally as a boolean flag of some sort in the copy WC to URL API we use to create a tag.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/ 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Feb 21 18:54:19 2007

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

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