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

Re: "Find HEAD" button in svn:externals editor

From: Ben Fritz <fritzophrenic_at_gmail.com>
Date: Fri, 23 May 2014 10:30:35 -0500

On Thu, May 22, 2014 at 12:36 PM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> On 20.05.2014 23:26, Ben Fritz wrote:
>> I know that these peg revisions will technically give me the same file
>> content. But I can't just commit changes willy-nilly to the externals
>> definitions every time I check. And determining that an external has
>> not actually been changed after such a commit would require an extra
>> several steps to view the history of the folder or file in question to
>> figure out that the two revisions are actually identical.
>
> Or:
> set the peg revision as it is done now, run update.
> If you see any changes in the dialog that shows the update progress, use
> that new revision.
> If not, revert the property change.
>

So you're saying, set the peg to the latest for ~40 external rules,
then do an update and individually revert those rules with no changes?
No, thanks.

What I do now:
1. Double-click the rule
2. Click "show log"
3. The log pops up and automatically selects the latest version
4. Click OK
5. Repeat steps 1-4 for each of ~40 externals

I'd really like to be able to hit "find HEAD" once, then individually
update only the changed rules.

>> Is there some use-case that requires the last committed version
>> anywhere in the repository? Or can this be changed to pull in the last
>> change revision instead? As the feature stands right now, it is pretty
>> much useless for the purpose of checking for updates on all the
>> externals at once, and automatically updating to the minimum required
>> version for each rule.
>
> To get the "last changed revision" we would have to fetch the log for
> the folder, not just ask the repo for the HEAD revision. That would take
> a lot longer.
>

Why can't you just do the equivalent of "svn info /path/to/external"
and extract the last changed revision from there?

I'm almost tempted to write a script to do that for me but that's WAY
less convenient than the button in the dialog that *almost* does what
I want.

What's the use case for it acting the way it does now? I can't
actually see how the information it gives right now is useful in any
way.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3079013

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-05-23 17:31:06 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.