Re: How to set the *same* ignore properties in many directories?

2012-04-08 Thread Ryan Schmidt

On Apr 6, 2012, at 08:17, frame wrote:

> I want to add svn:ignore properties which ignores directory "abc_dir". I know 
> how to do it. My difficulty here is that our file structures is like the 
> following:
> 
> a/b/abc_dir/1.txt 
> z/x/abc_dir/.. 
> m/n/abc_dir/.. 
> ... 
> z100/x100/abc_dir/.. 
> 
> There are about 100 of them. I cannot do it one by one. Is there a better way 
> to do it?
> 
> I know I can do it in .subversion/config global-ignore properties. But that 
> only affects my local area. It is better for every one in our team to have it.

Write a script to set the property on each directory.




svn annotate requires Start revision precede end revision

2012-04-08 Thread Ben Aveling


Hi,

svn annotate requires that the start revision precedes the end revision.

eg

   svn annotate -r 9515:6504 ...
   svn: Start revision must precede end revision


And usually, this is what you want.

But at this moment, I want to know when a line was removed, so I do want 
to have the 'end' precede the 'start'.


Is there a way to do it?

Regards, Ben



Re: svn annotate requires Start revision precede end revision

2012-04-08 Thread Daniel Shahaf
Ben Aveling wrote on Sun, Apr 08, 2012 at 16:51:33 +1000:
> But at this moment, I want to know when a line was removed, so I do
> want to have the 'end' precede the 'start'.
> 
> Is there a way to do it?
> 

Yes and no.

The 'start < end' check is implemented at the library level, not at the
client level (so switching to a non-cmdline client won't help).  And the
history walk is unidirectional for ≥1.1 servers (see svn_ra_* calls in
svn_client_blame5()).

But the idea itself --- of computing the blames in reverse to determine
deleted lines --- is sound.  And I'd love to see it implemented.

Daniel

> Regards, Ben
>