You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Garrett Rooney <ro...@electricjellyfish.net> on 2002/12/16 02:53:51 UTC

svn log on deleted items

so are we supposed to be able to use 'svn log' on paths that no longer 
exist in the filesystem?  i was trying to figure out exactly when 
check-diff.sh went away, so the first thing i tried was:

$ svn log http://svn.collab.net/repos/svn/trunk/ac-helpers/check-diff.sh
svn: Error string not specified yet
svn: REPORT request failed on /repos/svn/trunk/ac-helpers/check-diff.sh
svn: The REPORT status was 404, but expected 200.

ok...  let's try some other arguments...  maybe --strict is what i'm 
looking for...

$ svn log 
http://svn.collab.net/repos/svn/trunk/ac-helpers/check-diff.sh --strict
svn: Error string not specified yet
svn: REPORT request failed on /repos/svn/trunk/ac-helpers/check-diff.sh
svn: The REPORT status was 404, but expected 200.

ok...  maybe not.  now i go to the mailing list archives and see that 
it was in fact deleted in revision 4121, so let's try this:

$ svn log 
http://svn.collab.net/repos/svn/trunk/ac-helpers/check-diff.sh -r 4121
svn: Error string not specified yet
svn: REPORT request failed on /repos/svn/trunk/ac-helpers/check-diff.sh
svn: The REPORT status was 404, but expected 200.

or maybe:

$ svn log 
http://svn.collab.net/repos/svn/trunk/ac-helpers/check-diff.sh -r 4121 
--strict
svn: Error string not specified yet
svn: REPORT request failed on /repos/svn/trunk/ac-helpers/check-diff.sh
svn: The REPORT status was 404, but expected 200.

ok, so what's the deal?  is this a bug?  should it work?  how is one 
supposed to do this kind of thing anyway?

-garrett


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

Re: svn log on deleted items

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Philip Martin <ph...@codematters.co.uk> writes:
> It's looks like a variant of issue 891 (lots of things look a variant
> of 891...)
> 
> http://subversion.tigris.org/issues/show_bug.cgi?id=891

Thanks.  I've changed the summary of 891 appropriately, and added this
recipe (we'll want to do this particular test when the bug is fixed,
to make sure it really was a duplicate).



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

Re: svn log on deleted items

Posted by Philip Martin <ph...@codematters.co.uk>.
Karl Fogel <kf...@newton.ch.collab.net> writes:

> That's a great repro recipe, thanks!  Can you file an issue, using
> this recipe?  (I looked in the issue tracker and didn't see an obvious
> duplicate, but you might want to search too, and if you find one, then
> it would be fine to just add this recipe to that issue.)

It's looks like a variant of issue 891 (lots of things look a variant
of 891...)

http://subversion.tigris.org/issues/show_bug.cgi?id=891

-- 
Philip Martin

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

Re: svn log on deleted items

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
That's a great repro recipe, thanks!  Can you file an issue, using
this recipe?  (I looked in the issue tracker and didn't see an obvious
duplicate, but you might want to search too, and if you find one, then
it would be fine to just add this recipe to that issue.)

I'm not sure yet what the solution will be, but the behavior you got
in the 1:4121 case is clearly wrong.

-K

Michael Price <mp...@atl.lmco.com> writes:
> It is wierd...
> 
> $ ~/local/private/src/svn/ac-helpers> svn log -r 1:4121 check-diff.sh
> ------------------------------------------------------------------------
> rev -1:   | (no date) | 1 line
> 
> file not found: revision `4121', path `/trunk/ac-helpers/check-diff.sh'
> ------------------------------------------------------------------------
> $ ~/local/private/src/svn/ac-helpers> svn log -r 1:4120 check-diff.sh
> ------------------------------------------------------------------------
> rev 1669:  kfogel | 2002-04-11 14:51:27 -0400 (Thu, 11 Apr 2002) | 22 lines
> 
> Check that the diff program supports the "-u" flag, since `svn diff'
> wants to pass it by default.  This somewhat reverts rev 1503, except
> that we're not demanding GNU diff now, just support for "-u".
> 
> * ac-helpers/check-diff.sh: New file.  Based on old
>   gnu-diff.sh from rev 1502, but with different tests.
> 
> * ac-helpers/check-diff-input-1.txt,
>   ac-helpers/check-diff-input-2.txt: New files
> 
> * ac-helpers: Add "check-diff-output.tmp" to svn:ignore
>   property.
> 
> * autogen.sh: Add check-diff.sh to the list of files to
>   set executable.
> 
> * configure.in: Run ac-helpers/check-diff.sh to find the
>   diff program.  Also, tweak the diff3 error message.
> 
> * CHANGES: Note the new dependency.
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

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

Re: svn log on deleted items

Posted by Michael Price <mp...@atl.lmco.com>.
Garrett Rooney writes:
 > so are we supposed to be able to use 'svn log' on paths that no longer 
 > exist in the filesystem?  i was trying to figure out exactly when 
 > check-diff.sh went away, so the first thing i tried was:
 >
 > [snip]
 > 
 > ok, so what's the deal?  is this a bug?  should it work?  how is one 
 > supposed to do this kind of thing anyway?

It is wierd...

$ ~/local/private/src/svn/ac-helpers> svn log -r 1:4121 check-diff.sh
------------------------------------------------------------------------
rev -1:   | (no date) | 1 line

file not found: revision `4121', path `/trunk/ac-helpers/check-diff.sh'
------------------------------------------------------------------------
$ ~/local/private/src/svn/ac-helpers> svn log -r 1:4120 check-diff.sh
------------------------------------------------------------------------
rev 1669:  kfogel | 2002-04-11 14:51:27 -0400 (Thu, 11 Apr 2002) | 22 lines

Check that the diff program supports the "-u" flag, since `svn diff'
wants to pass it by default.  This somewhat reverts rev 1503, except
that we're not demanding GNU diff now, just support for "-u".

* ac-helpers/check-diff.sh: New file.  Based on old
  gnu-diff.sh from rev 1502, but with different tests.

* ac-helpers/check-diff-input-1.txt,
  ac-helpers/check-diff-input-2.txt: New files

* ac-helpers: Add "check-diff-output.tmp" to svn:ignore
  property.

* autogen.sh: Add check-diff.sh to the list of files to
  set executable.

* configure.in: Run ac-helpers/check-diff.sh to find the
  diff program.  Also, tweak the diff3 error message.

* CHANGES: Note the new dependency.


------------------------------------------------------------------------


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

Re: svn log on deleted items

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
Ben Collins-Sussman wrote:

>Garrett Rooney <ro...@electricjellyfish.net> writes:
>
>  
>
>>so are we supposed to be able to use 'svn log' on paths that no longer
>>exist in the filesystem?
>>    
>>
>
>I swear we had an open issue on this... somehow ra_dav had regressed.
>It used to not try an run a REPORT request on a non-existent item, and
>somehow, now it does again.  Can anyone find this issue?
>
>  
>

i tried searching for 'log' in summary yesterday and couldn't find 
anything, but i didn't spend all that much time looking, so i may have 
missed it.

-garrett



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

Re: svn log on deleted items

Posted by Ben Collins-Sussman <su...@collab.net>.
Garrett Rooney <ro...@electricjellyfish.net> writes:

> so are we supposed to be able to use 'svn log' on paths that no longer
> exist in the filesystem?

I swear we had an open issue on this... somehow ra_dav had regressed.
It used to not try an run a REPORT request on a non-existent item, and
somehow, now it does again.  Can anyone find this issue?


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