> -----Original Message-----
> From: Simon Large [mailto:slarge@slarge.plus.com]
> Sent: 04 May 2005 20:56
> To: dev@tortoisesvn.tigris.org
> Subject: Re: [TSVN] Repo browser -- cannot change repository URL
>
> Mark Phippard wrote:
> > I am on a build from Monday, so maybe this has already been changed?
> >
> > The repo browser now has a new feature where it "knows" the
> repos root
> > and anchors the tree to that spot. When that change came in, it
> > appears a problem was introduced that if you type a new URL
> in the bar
> > at the top, it doesn't change repositories. For example, I was
> > browsing the SVN repository this AM and then wanted to switch to
> > browsing the TSVN repository. When I would change the URL,
> it would
> > just look for it in the SVN repository.
>
> Try r3223.
I haven't had a chance to update from r3197 yet. But a suggestion anyway:
Have two comboboxes for the repo browser url. The first defines the url to
the root of the repository; the second defines the path within the
repository.
I guess ideally, each repo url would be cached, and also the second combobox
would cache the previously-typed paths too - but only offer those that are
from the currently-selected repo. If a path is found to be invalid in a
repo, it is removed from that repo's history.
There would have to be validation such that if the repo url changes (when it
loses focus, I guess, rather than just being typed in), the path combobox
gets blanked, to prevent a path that was valid in the previous repo being
tried in the changed-to repo. And it's probably often to want to simply get
to the root of a repo anyway, so it seems like a good default (to me).
What do you think?
This would be appropriate both when starting a repo browser randomly (ie,
right click | repo browser anywhere - both comboboxes should start blank)
and starting it from within a working copy (both comboboxes should start
populated according to where in the WC we're invoking from).
This would also make it (arguably) less of a priority for an admin to
install that PHP script to list the available repos; once users discover
them, they're cached.
Peter Mounce
IML Ltd
e: mailto:petermounce_at_iml.co.uk w: http://www.iml.co.uk
t: (01428) 727476 f: (01428) 727011
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu May 5 10:29:45 2005