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

diff / log ... improvment for the -r switch

From: Clemens Schwaighofer <cs_at_tequila.co.jp>
Date: 2005-02-24 10:17:01 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I would love to see the -r flag more usable for me. As subversion uses
global revision numbers, mine can be very "cheesy" which means they have
huge gaps in between, as I have a lot of different projects in my
repository.

So now I would love to see the diff for a file for the last X changes.
Of course I don't know which rev was the working copy - X, so I have to
search through the logs, count down to X and then make a -r with the
right number.

I would love to see a wy to say

$> svn diff -r HEAD-5 foo.c

so I can say, show me the diff from 5 commits before the current checked
out working copy of 'foo.c'. The same would be great for log too. Or I
want to know the latest committed and 5 before that, what cahnges

$> svn diff -r HEAD-5:HEAD foo.c

wouldn't that be great?

One more thing:

I really have _no_ idea what the difference between HEAD, BASE and
COMMITTED is. Especially BASE and COMITTED.
HEAD is the latest in the rep. but the other toos. the explenation just
doesn't make any sense to me ...

Although I use subversion for some time now, i don't count myself as a
professional user, so please point me the documentation or how to use
it, if it is already doable, or where this is described.

- --
[ Clemens Schwaighofer -----=====:::::~ ]
[ TBWA\ && TEQUILA\ Japan IT Group ]
[ 6-17-2 Ginza Chuo-ku, Tokyo 104-0061, JAPAN ]
[ Tel: +81-(0)3-3545-7703 Fax: +81-(0)3-3545-7343 ]
[ http://www.tequila.co.jp http://www.tbwajapan.co.jp ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCHZuNjBz/yQjBxz8RAtaoAKCul6AtQ0OTe7NCaORajDvbH/HF/wCfb4PQ
7Af95QTJEoX8/vF5pOTnt3c=
=kmog
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 24 10:19:33 2005

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

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