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

Re: 1.7 feature list

From: Stefan Fuhrmann <stefanfuhrmann_at_alice-dsl.de>
Date: Sat, 15 Aug 2009 14:16:32 +0200

Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> On 13.08.2009 13:15, Stefan Fuhrmann wrote:
> > Stefan Küng<tortoisesvn_at_gmail.com> wrote:
> >> On 12.08.2009 12:40, Stefan Fuhrmann wrote:
> >> * I'm not sure if it's possible to create such lnk files with
> >> drag'n'drop to the explorer: the DROPEFFECT_LINK doesn't work for
> >> objects that are not PIDLs. We could 'work around' this by using
> >> DROPPEFFECT_COPY, but then the user might get confused.
> >
> > No, I would not want to abuse the copy op.
> > If we can't put our drop objects into PIDLs
> > with reasonable effort, then there will be
> > no drag'n'drop link support.
> >
> > However,<CTRL><C> should copy the URL?Rev
> > as plain text into the clipboard. If dnd
> > is not possible, I would go for a context
> > menu entry to create the LNK file.
>
> I'm not sure what copying such an url to the clipboard would achieve?

The general use-case for all that 'get/create link'
functionality is as follows. In a document management
context, the user often wants to

* put a link to a specific (usually current) version
  of a document into another document, or
* put a link to a specific (usually current) version
  of a document into an e-mail

without the need to create a gazillion tags that
must never be changed or moved afterwards.

> >>> - "Create Explorer link" to create an
> >>> LNK file that points to th specific
> >>> revision of that node. Variations
> >>> on that theme are conceivable,
> >>> e.g. drag'n'drop into explorer.
> >>
> >> Some questions about this:
> >> * what should the lnk file point to?
> >> I was thinking of
> >> TortoiseProc /command:repobrowser /rev:xxx /path:url
> >> Or do you mean the log dialog? Or (in case of http(s) urls)
> >> the webbrowser?
> >
> > Make it point to URL?Rev. That way,
> > anybody can open it from anywhere.
> >
> >> * where should that feature get implemented? In the repobrowser?
> >> the log dialog?
> >
> > Repository browser. Maybe in the WC
> > as well (right-drag context menu).
> > Finally, the SVN property page could
> > display the URL?Rev combination as well.
>
> The URL?Rev format doesn't work for http(s) servers. TSVN only registers

> the URL formats for svn:// and svn+ssh://.
> And the apache based servers don't support that format, they only show
> the HEAD revision.
> (the repos on google code however you can append ?r=XXX to view the url
> at the XXX revision - but that's only google code).
>
> I guess I'll just use the tsvncmd: url and specify the repobrowser as
> the command.

I was thinking about

http://subversion.tigris.org/svn_1.6_releasenotes.html#historical-uris

Sure, these are not supported on pre-1.6 servers.
But clicking on such a link from an e-mail, for
instance, would immediately open the respective
file in the desired version.

-- Stefan^2.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2383848

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-08-15 14:17:18 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.