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

[TSVN] Menu item "Checkout..."

From: Tobias Schäfer <tobiasschaefer_at_gmx.de>
Date: 2005-08-21 17:54:02 CEST

Hello Stefan,

if you do a checkout into a folder and then try to checkout again into the
same folder the menu item "Checkout..." is not shown.

I know this is rather uncommon but in the following scenario I would need it:

- create "d:\tsvn"
- checkout "http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/" to
d:\tsvn\trunk
- since d:\tsvn does not contain a ".svn" directory the menu item
"Checkout..." is shown - good!
- checkout http://tortoisesvn.tigris.org/svn/tortoisesvn/ and set the checkbox
"Check out the top folder only"
- This created the file d:\tsvn\ReadMe.html und creates the folder
d:\tsvn\.svn - good!
- Add a new file into http://tortoisesvn.tigris.org/svn/tortoisesvn by using
the Repo-Browser using "Add file...", for example aaaaaaa.txt
- I would now like to checkout the top folder of
http://tortoisesvn.tigris.org/svn/tortoisesvn/ again to checkout aaaaaaa.txt
but "Checkout..." is not available in the context menu of d:\tsvn - not so
good :-(

If you use the Repo-Browser instead to checkout the folder
http://tortoisesvn.tigris.org/svn/tortoisesvn/ everything works correctly.
This is even the case if d:\tsvn\.svn is modifed because d:\tsvn\ReadMe.txt
has been edited.

I would prefer to have "Checkout..." in the context menu of a folder even if
a .svn folder exists.

The source code differences are obvious, but there might be a reason why it is
not available in the context menu of a folder. At least the availability of
"Checkout..." should be the same in both cases.

trunk\src\TortoiseShell\ContextMenu.cpp
if ((!isInSVN)&&(isFolder))

trunk\src\TortoiseProc\RepositoryBrowser.cpp
BOOL bFolder = m_treeRepository.IsFolder(hSelItem);
[...]
if (bFolder)

Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Aug 21 17:54:51 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.