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

Re: Feature Request: renaming "after the event" + other feedback

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-01-12 20:58:42 CET

Steve Spencer wrote:
> I often work with development environments that support file
> manipulation inside some kind of Project View, including renaming and
> moving files. Some IDEs also provide "refactoring", where I can rename
> a Java class or change its package, and the IDE handles the file
> renames behind the scenes.
>
> Unfortunately this makes working with TortoiseSvn rather difficult. In
> order to maintain history across the rename/move, I have to either
> rename using the Tortoise function by going outside of my IDE, or
> manually reverse the IDE's rename and re-do it myself using Tortoise.
>
> It would be a huge help to the way I develop (frequently refactoring a
> large Java codebase using Eclipse and Netbeans refactoring tools) if,
> in the TortoiseSVN "commit" or "check for mods" dialogs I could pick
> (1) a missing file and (2) a new file, and then say "these files have
> been renamed". Tortoise would locally mark (2) as an Add with history
> from (1), and then mark (1) for deletion, i.e. "renaming after the
> event".

This can't be done in TortoiseSVN. This would have to be implemented in
the Subversion library - there's currently no API there which can do
that. You should ask on the Subversion dev list for a feature like

svn moved missingfile unversionedfile

which then does a post-rename of 'missingfile' to 'unversionedfile'.
I think if you tell them your use case, they might not be opposed to that.

> The log window seems to have searching/filtering devices at the top.
> I've used it many times and have never managed to get these to work.
> It isn't clear how they interact with the "next 100" function. After a
> lot of fiddling, typing and pressing enter, and choosing dates
> (fiddly), I usually give up and hit "Show all" and wait, then eyeball
> the list. Do these filters operate as parameters to the underlying SVN
> log command, or do they operate on the result set? Either way, I can't
> figure it out. I wouldn't mind a hint as to how to use them, but my
> main point is there are some usability issues.

The filter works on the log entries which are already loaded in the log
dialog. I'm not sure what your problem exactly is, you didn't provide an
example filter string and also not what you would have expected to be
shown and what was actually filtered/shown.
Also, the filter string is treated as a regex string.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Jan 12 22:14:43 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.