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

feature request

From: Christopher Blunck <chris_at_wxnet.org>
Date: 2006-03-05 16:28:18 CET

it'd be nice if "svn log" produced some kind of visual artifact in the
output when a file is moved from another directory. for example . . .

1.) create: /a/foo.bar
2.) make revisions 1, 2, 3 to /a/foo.txt
3.) svn mkdir /b
4.) svn mv /a/foo.bar /b
5.) commit /b/foo.bar as revision 4
6.) make revisions 5, 6, 7 to /b/bar.txt
6.) svn log on /b/foo.bar

as you are very well aware you'll see r1, r2, and r3 as well as r4,
r5, r6, and r7. if you weren't familiar with "foo.txt" you might not
realize that it previously lived in /a as "bar.txt". if you examined
each log message, and if the commiter that moved "/a/foo.txt" to
"/b/bar.txt" was responsible they will have put a very obvious commit
message, but relying on good commit messages is rarely a good
strategy (it's very prone to error) :)

if you had the HEAD of the repository and you wanted to pull out r1 of
"bar.txt" you'd get a "D bar.txt" because that file doesn't exist
until r4.

do you think it would be good in "svn log" to provide some visual
indication (perhaps a * next to the r###?) when a file is moved?

-c

-- 
WeatherNet Observations for station:  home
Temperature: 47.60F		Pressure: 30.20in;
Dew Point:   18.20F (31%)	Wind:     217 at 10 mph
Recorded:    10:16:08 03/05/06  (http://wsdl.wxnet.org/inquiry/binding.wsdl)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 8 15:53:53 2006

This is an archived mail posted to the Subversion Dev mailing list.

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