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

Re: [TSVN] "save as" (in log dialog) for a directory

From: Charles BROSSOLLET <cbrossollet_at_imagine-optic.com>
Date: 2005-05-27 10:45:41 CEST

SteveKing wrote:
  Charles BROSSOLLET wrote:
> Hi,
>
> I wanted to get a copy of my project at a former revision, and (don't
> ask me why) tried to do it from the show log dialog (from repo-browser).
> So I select "save as', from the right-click menu of the revision, and a
> file dialog appears, strangely asking me for a file name... of course,
> when I validate, I get an error like "this is a directory".
> So would it be possible to :
> - display an error before the file dialog
> - add the possibility to save an entire directory at a specific revision
> from the log dialog, or calling the checkout dialog filled with the
> revision?

  you either
  - started the log dialog from the repository browser
  - tried to save not from the revision list but the file list

  in both cases TSVN does not know if it's a file or a folder you've
  clicked on. In case one, an URL can point to both a file and a folder so
  there's no way to know before trying to download it, in case two does
  Subversion not provide the information in the changed-file-list if it's
  a file or a folder that got changed.
I was in case 1. But when the repo-browser is shown, TSVN builds the arborescence, so I don't understand why it doesn't know if an element is a file or folder?

Cheers

-- 
Charles Brossollet
Received on Fri May 27 10:44:30 2005

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

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