I just committed a new dialog to create a branch/tag from the workspace.
Here is the commit message:
"This adds an option to create a branch/tag from the workspace. The UI
once gain mimics TortoiseSVN.
By default, the branch/tag on the server from the HEAD revision of the URL
you have loaded, but there
is a check box, you can uncheck to create the branch/tag from your WC.
Presumably, this would
allow a mixed-revision tag. This latter option is not currently working.
I think it is because we pass
HEAD for the revision. From the CLI, the copy command works if the -r
parm is not passed. However,
if -r HEAD is passed, then it works the same as this option does
currently. I am not sure what the
right way to code this to mimic the proper command line behavior."
Could someone that understands SVNClientAdapter a bit better than I take a
look at this? If I just retrieved the revision of the selected item and
passed that to the command would it work better? I probably ought to do
that anyway, since using HEAD might not be what someone was expecting.
When the copy is done URL to URL at least, that would make sense. It is
WC to URL that is giving me more problems. I want the equivalent of not
using the -r parm from the command line and am not sure if that can really
be done the way the Adapter is currently coded.
Thanks
Mark
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Sat Nov 27 07:45:25 2004