Bugs item #1879567, was opened at 2008-01-25 05:31 Message generated for change (Comment added) made by dgou You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=968354&aid=1879567&group_id=199155
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 2 Private: No Submitted By: Peer Sommerlund (peso) Assigned to: Nobody/Anonymous (nobody) Summary: Clone to empty folder fails Initial Comment: Version: 0.2 If an existing empty folder "foo" is specified as destination the clone fails with message "*** destination 'C:\foo' already exists" Workaround is to delete folder before cloning. I would have expected an error if I tried to clone to an existing repository, but not to an empty folder. ---------------------------------------------------------------------- Comment By: Doug Philips (dgou) Date: 2008-04-13 09:46 Message: Logged In: YES user_id=392583 Originator: NO On the non-existance of the new repo, I understand that there is a deep disconnect between the API and the GUI. As to the default: a) I navigate in the explorer to the parent directory (or some subdirectory) of a repo that I want to clone. Let's say I'm in the parent directory. b) I select the repo folder and right click to get the context menu. c) I go into the TortoiseHG submenu. d) I select "Create Clone" e) I get a dialog box (or program, its hard to tell) "hg clone - <my repos path here>" f) The "Source Path:" text entry box is -empty-. I'd like to see the Source Path be defaulted with the path to the repo on which I just clicked and which is also right there in the title (un-copy-n-paste-able). ---------------------------------------------------------------------- Comment By: TK Soh (tksoh) Date: 2008-04-13 09:32 Message: Logged In: YES user_id=411637 Originator: NO I share your frustration. A lot. In some way the "browse" button is either wrong, or mis-targeted. Honestly, I haven't been able to come up with a good way to hand this. Claiming that hg clone expects the dest repo to be non-existent is not an overstatement. The only way to get around this expectation of hg clone require removal of the dest folder before calling the cloning 'API'. And, it might be a little too much risk than I'd like to take. Let me know if you have any ideas of a sound policy. > Can we get the selected folder to be the default source (if it is a repo > or subdirectory of one) for 0.4? I am not sure I follow you on this. ---------------------------------------------------------------------- Comment By: Doug Philips (dgou) Date: 2008-04-13 09:16 Message: Logged In: YES user_id=392583 Originator: NO This is really annoying because the GUI interface "browse" has a "new folder button" that encourages the user to say: "Oh, I see, I have to make the new folder that I want to clone into so that -I can --select-- it-. I struggled with this for 10 frustrating minutes before I finally realized that I had to NOT make the new folder name. Instead I had to: select the parent click into the destination box type in the new folder name at the end of the path. That combined with --lack-- of defaulting the source to the folder on which I used the "create clone" menu/context-menu option to start with made this a triply frustrating experience. Claiming that the underlying command line interface works differently doesn't hold much water. My coworkers will bitch up a storm because that is not how other Windows GUIs treat the "New Folder" options when creating and saving files, etc. Can we get the selected folder to be the default source (if it is a repo or subdirectory of one) for 0.4? ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-01-25 11:01 Message: Logged In: NO It's a behavior of hg clone. I don't feel it's safe to assume it's okay to overwrite an existing directory. Empty or otherwise. -TK ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=968354&aid=1879567&group_id=199155 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Tortoisehg-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop
