On Thursday, October 26, 2017 at 5:57:04 PM UTC+2, Julian Foad wrote: > > "Unshelve" is closely related to "Apply patch", but "Apply patch" has a > special behaviour when one file is selected: it assumes that file is the > patch file; and that doesn't make sense for "unshelve". So we wanted to > just not show the "unshelve" option if a file (or a folder, or multiple > items) is/are selected, because in that case the user may think the > unshelve operation is somehow going to apply to (only) the selected > item(s). Maybe later we will want to add the possibility of unshelving only > the part of a shelved change that applies to particular (selected) file(s), > but for now we don't have that. > > So unshelving works on folders. Or only WC roots? If for folders, just use the same context menu struct and flags as for example the 'cleanup' command: it shows for folders that are under version control, but not for files or multi-selections. If only WC roots, then copy the flags from the 'relocate' command. That only shows for WC roots. Use the ITEMIS_WCROOT flag.
Stefan -- You received this message because you are subscribed to the Google Groups "TortoiseSVN-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn-dev/1128aac3-8366-42a3-8cc1-cb66aac1ce00%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

