You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Edvard Majakari <ed...@staselog.com> on 2004/09/22 06:54:44 UTC

cvs diff -r RC_FOO_BAR equivalent?

Do I really have to do 

svn diff --old svn://repos/project/tags/RC_FOO_BAR .

to get differences between the stuff in my current directory and
repository? moreover that doesn't seem to work either.

-- 
# Edvard Majakari		Software Engineer
# PGP PUBLIC KEY available    	Soli Deo Gloria!

$_ = '456476617264204d616a616b6172692c20612043687269737469616e20'; print
join('',map{chr hex}(split/(\w{2})/)),uc substr(crypt(60281449,'es'),2,4),"\n";


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs diff -r RC_FOO_BAR equivalent?

Posted by Edvard Majakari <ed...@staselog.com>.
Max Bowsher <ma...@gmail.com> writes:

> What *exactly* do you want to see the differences between?
>
> Differences *from* a tag *to* the current state of your WC?
> svn diff --old svn://repos/project/tags/RC_FOO_BAR --new .
> Note the added "--new" compared to your command.

Yep, that does it, thank you.

> See "svn help diff" to understand why.

Still, I think I shouldn't need to type that much. I think there should be
at least a way to tell svn that tag RC_FOO_BAR is related to current
project, and as such it should be able to deduce url path by itself. Thus,
at least in theory, svn diff --tag RC_FOO_BAR should be sufficient (as it
is in CVS): without arguments, contents of .svn are read and the directory
is compared to that in repository with given tag (recursively).

-- 
# Edvard Majakari		Software Engineer
# PGP PUBLIC KEY available    	Soli Deo Gloria!

$_ = '456476617264204d616a616b6172692c20612043687269737469616e20'; print
join('',map{chr hex}(split/(\w{2})/)),uc substr(crypt(60281449,'es'),2,4),"\n";

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs diff -r RC_FOO_BAR equivalent?

Posted by Edvard Majakari <ed...@staselog.com>.
"Max Bowsher" <ma...@ukf.net> writes:

> The fact that you need to add --new is *not* a bug.

Yes, but the need to add whole repository path (without knowing the
numerical versin) is an inconvenience. :)

-- 
# Edvard Majakari		Software Engineer
# PGP PUBLIC KEY available    	Soli Deo Gloria!

"Debugging is twice as hard as writing the code in the firstplace. Therefore,
 if you write the code as cleverly as possible, you are, by definition,
 not smart enough to debug it."  -- Brian W. Kernighan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs diff -r RC_FOO_BAR equivalent?

Posted by Max Bowsher <ma...@ukf.net>.
Edvard Majakari wrote:
> Garrett Rooney <ro...@electricjellyfish.net> writes:
> 
>> Note that I believe there is a bug in the 1.0.x series of releases that
>> keep this from working correctly (there used to be anyway, and I don't
>> think it was ever backported).  It works in 1.1.x.
> 
> At least with 1.1.0 RC3 it doesn't work - I need to add --new for it to
> work. Thank you all for responding, tho'

The fact that you need to add --new is *not* a bug.

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs diff -r RC_FOO_BAR equivalent?

Posted by Edvard Majakari <ed...@staselog.com>.
Garrett Rooney <ro...@electricjellyfish.net> writes:

> Note that I believe there is a bug in the 1.0.x series of releases that
> keep this from working correctly (there used to be anyway, and I don't
> think it was ever backported).  It works in 1.1.x.

At least with 1.1.0 RC3 it doesn't work - I need to add --new for it to
work. Thank you all for responding, tho'

-- 
#!/usr/bin/perl -w
$h={23,69,28,'6e',2,64,3,76,7,20,13,61,8,'4d',24,73,10,'6a',12,'6b',21,68,14,
72,16,'2c',17,20,9,61,11,61,25,74,4,61,1,45,29,20,5,72,18,61,15,69,20,43,26,
69,19,20,6,64,27,61,22,72};$_=join'',map{chr hex $h->{$_}}sort{$a<=>$b}
keys%$h;m/(\w).*\s(\w+)/x;$_.=uc substr(crypt(join('',60,28,14,49),join'',
map{lc}($1,substr $2,4,1)),2,4)."\n"; print;

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs diff -r RC_FOO_BAR equivalent?

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
Max Bowsher wrote:
> On Wed, 22 Sep 2004 09:54:44 +0300, Edvard Majakari
> <ed...@staselog.com> wrote:
> 
>>Do I really have to do
>>
>>svn diff --old svn://repos/project/tags/RC_FOO_BAR .
>>
>>to get differences between the stuff in my current directory and
>>repository? moreover that doesn't seem to work either.
> 
> 
> What *exactly* do you want to see the differences between?
> 
> Differences *from* a tag *to* the current state of your WC?
> svn diff --old svn://repos/project/tags/RC_FOO_BAR --new .
> Note the added "--new" compared to your command.
> 
> See "svn help diff" to understand why.

Note that I believe there is a bug in the 1.0.x series of releases that 
keep this from working correctly (there used to be anyway, and I don't 
think it was ever backported).  It works in 1.1.x.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs diff -r RC_FOO_BAR equivalent?

Posted by Max Bowsher <ma...@gmail.com>.
On Wed, 22 Sep 2004 09:54:44 +0300, Edvard Majakari
<ed...@staselog.com> wrote:
> 
> Do I really have to do
> 
> svn diff --old svn://repos/project/tags/RC_FOO_BAR .
> 
> to get differences between the stuff in my current directory and
> repository? moreover that doesn't seem to work either.

What *exactly* do you want to see the differences between?

Differences *from* a tag *to* the current state of your WC?
svn diff --old svn://repos/project/tags/RC_FOO_BAR --new .
Note the added "--new" compared to your command.

See "svn help diff" to understand why.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: cvs diff -r RC_FOO_BAR equivalent?

Posted by Mark <ma...@msdhub.com>.
If what you want is "what I changed since I last committed", then "svn diff"
should give you that.

Mark

-----Original Message-----
From: Edvard Majakari [mailto:edvard.majakari@staselog.com] 
Sent: Wednesday, September 22, 2004 12:55 AM
To: users@subversion.tigris.org
Subject: cvs diff -r RC_FOO_BAR equivalent?


Do I really have to do 

svn diff --old svn://repos/project/tags/RC_FOO_BAR .

to get differences between the stuff in my current directory and
repository? moreover that doesn't seem to work either.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org