2010/1/3 RHF <robert.h.fletcher_at_gmail.com>:
> On Dec 31 2009, 1:31 pm, Simon Large
> <simon.tortoise..._at_googlemail.com> wrote:
>
>> It sounds like a good idea, but how would it be automated?
>
> I have been manually doing the following as suggested by Robin Guest
> in Q 7 of the following link::
> http://groups.google.com/group/tortoisesvn/tree/browse_frm/thread/07bb8df944ba6090/b9496e0ea755f25d?hl=en&rnum=1&q=tag+external&_done=%2Fgroup%2Ftortoisesvn%2Fbrowse_frm%2Fthread%2F7bb8df944ba6090%2F6f66c104a8c16fc1%3Fhl%3Den%26lnk%3Dgst%26q%3Dtag%2Bexternal%26#doc_7be10fd07e73b423
>
> Robin's procedure is summarized by:
> "Sure. I always manually add revisions to my externals before I tag
> them.
> Takes all of 10 seconds extra. I change the svn:externals property in
> my
> up-to-date wc,
That's the first troublesome bit. Because you know your externals and
exactly what they should be pegged to. But there could be a lot of
different externals, all from different repositories, some pointing at
tags (so don't need pegging maybe). That would require a server round
trip for every external to find out the HEAD revision, so it would
definitely have to be an option, probably off by default.
> tag from the wc, leaving the wc pointing at trunk, then
> revert it afterwards."
and that's the second. You can edit the externals and revert
afterwards in your own manual procedure, but there is no way you can
include a revert in an automated procedure because it could revert
things you don't want reverted. The only way this would be safe in the
general case is if you first crawl the WC and check that there are no
modifications. If there are then the auto pegging would have to be
blocked because a revert would be destructive.
> It would be a big help if this process could be automated and
> incorporated into TSVN.
It's certainly not impossible, and I can see it could be very useful,
but it is not a trivial change.
Simon
--
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2434453
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-01-03 23:59:12 CET