Re: "Display 'moved here' and 'moved away' status in working copy status list
Ivan Zhakov <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.tortoisesvn.devel |
|---|---|
| Message-ID | <CABw-3YfyFJJ8HujcEeKdu2au3F6BpkDzSe_CQK8sxPgoPf=OCg@mail.gmail.com> |
On 28 September 2016 at 12:49, Stefan Hett <[email protected]> wrote: > On 9/28/2016 11:34 AM, Ivan Zhakov wrote: >> Hi, >> >> Subversion records moves as first-class operation in the working copy >> since version 1.8 [1]. For example here is how 'svn status' looks for >> working copy where file 'foo.txt' was renamed to 'bar.txt': >> [[[ >> A + bar.txt >> > moved from foo.txt >> D foo.txt >> > moved to bar.txt >> ]]] >> >> But TortoiseSVN only displays this information in a tooltip in the >> status list. I suggest adding 'moved here' and 'moved away' to >> TortoiseSVN. See the attached patch and screenshot. >> >> [1] https://subversion.apache.org/docs/release-notes/1.8.html#moves >> >> > Feedback from a user's point of view (if that's helpful): > How about only displaying a single entry for both operations as in: > > Path Extension Status > > bar.txt txt moved from foo.txt > > > IMO that would make more sense to the user and simplifies the > use-case/UI a bit. > It will also solve the problem with the current approach that if you > have two renames/moves, you don't really see which entries are related > to one another. > > I certainly can't say whether combining the two entries to a single one > will break current use-cases and/or require much work to adjust these, > so it might be out of question and you already considered (and therefore > rejected) that idea. > 1. This will require to user to configure Status column to be very wide. Just imagine something like: Path subversion\bindings\javahl\src\org\apache\subversion\javahl\ClientException.java moved from subversion\bindings\javahl\src\org\tigris\subversion\javahl\Exception.java 2. This will be be inconsistent with Subversion command line output 3. There will be no options for user to perform operations on deleted side of move -- Ivan Zhakov ------------------------------------------------------ http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3187512 To unsubscribe from this discussion, e-mail: [[email protected]].