You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Christian Daudt <cs...@daudt.org> on 2003/06/09 21:22:17 UTC

Question on diff across directory copies

Hi,
 When I do a diff of a checked out directory (that at some point in the past 
was "cp"ed from somewhere else) against a revision from before the "cp" 
ocurred, it fails, like this example:

svn mkdir dir1
echo "line1" >>dir1/file1
svn commit
echo "line2" >>dir1/file1
svn commit
svn cp dir1 dir2
cd dir2
svn diff -r <rev-where-file1-was-first-created>

fails complaining that
svn: Filesystem has no item
svn: file not found: revision `3', path `/base/dir2'

but if I manually do it, providing all of the info it works:
svn diff <BASE>/dir1/file1@<rev-where-file1-was-first-created> 
<BASE>/dir2/file1

returns what I was expecting. Is this limited this way by design, or is it 
work-yet-to-be-done ? 

 thanks,
   csd

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


Re: Question on diff across directory copies

Posted by kf...@collab.net.
Christian Daudt <cs...@daudt.org> writes:
> Are you thinking of #1093 ? That's the closest I could find and it
> still is open.

Yes, that's it, thanks.  If your symptoms aren't already approximately
described there, I think adding them would be appropriate.

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

Re: Question on diff across directory copies

Posted by Christian Daudt <cs...@daudt.org>.
On Monday 09 June 2003 17:48, kfogel@collab.net wrote:
> Christian Daudt <cs...@daudt.org> writes:
> > Just tried it against against r6178 and it still fails. I've attached the
> > script I used to test it.
>
> Ah, thanks.  And sorry about that :-).
>
> If you have time, could you see if there's an existing issue for this
> (if closed, then it just needs to be reopened), or file a new issue if
> none match?
>

Are you thinking of #1093 ? That's the closest I could find and it still is 
open.

> -K
>
> > On Monday 09 June 2003 14:59, kfogel@collab.net wrote:
> > > Christian Daudt <cs...@daudt.org> writes:
> > > >  When I do a diff of a checked out directory (that at some point in
> > > > the past was "cp"ed from somewhere else) against a revision from
> > > > before the "cp" ocurred, it fails, like this example:
> > > >
> > > >
> > > > but if I manually do it, providing all of the info it works:
> > > > svn diff <BASE>/dir1/file1@<rev-where-file1-was-first-created>
> > > > <BASE>/dir2/file1
> > > >
> > > > returns what I was expecting. Is this limited this way by design, or
> > > > is it work-yet-to-be-done ?
> > >
> > > That's a bug, I'm pretty sure -- but I thought we'd fixed it.  Has it
> > > regressed?  (Anyone remember more?)


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


Re: Question on diff across directory copies

Posted by kf...@collab.net.
Christian Daudt <cs...@daudt.org> writes:
> Just tried it against against r6178 and it still fails. I've attached the 
> script I used to test it.

Ah, thanks.  And sorry about that :-).

If you have time, could you see if there's an existing issue for this
(if closed, then it just needs to be reopened), or file a new issue if
none match?

-K

> On Monday 09 June 2003 14:59, kfogel@collab.net wrote:
> > Christian Daudt <cs...@daudt.org> writes:
> > >  When I do a diff of a checked out directory (that at some point in the
> > > past was "cp"ed from somewhere else) against a revision from before the
> > > "cp" ocurred, it fails, like this example:
> > >
> > >
> > > but if I manually do it, providing all of the info it works:
> > > svn diff <BASE>/dir1/file1@<rev-where-file1-was-first-created>
> > > <BASE>/dir2/file1
> > >
> > > returns what I was expecting. Is this limited this way by design, or is
> > > it work-yet-to-be-done ?
> >
> > That's a bug, I'm pretty sure -- but I thought we'd fixed it.  Has it
> > regressed?  (Anyone remember more?)

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

Re: Question on diff across directory copies

Posted by Christian Daudt <cs...@daudt.org>.
Just tried it against against r6178 and it still fails. I've attached the 
script I used to test it.
  
    csd


On Monday 09 June 2003 14:59, kfogel@collab.net wrote:
> Christian Daudt <cs...@daudt.org> writes:
> >  When I do a diff of a checked out directory (that at some point in the
> > past was "cp"ed from somewhere else) against a revision from before the
> > "cp" ocurred, it fails, like this example:
> >
> >
> > but if I manually do it, providing all of the info it works:
> > svn diff <BASE>/dir1/file1@<rev-where-file1-was-first-created>
> > <BASE>/dir2/file1
> >
> > returns what I was expecting. Is this limited this way by design, or is
> > it work-yet-to-be-done ?
>
> That's a bug, I'm pretty sure -- but I thought we'd fixed it.  Has it
> regressed?  (Anyone remember more?)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Question on diff across directory copies

Posted by Christian Daudt <cs...@daudt.org>.
My current build is probably 1 month old. I'll update and try again.

 thanks,
   csd

On Monday 09 June 2003 14:59, kfogel@collab.net wrote:
> Christian Daudt <cs...@daudt.org> writes:
> >  When I do a diff of a checked out directory (that at some point in the
> > past was "cp"ed from somewhere else) against a revision from before the
> > "cp" ocurred, it fails, like this example:
> >
> >
> > but if I manually do it, providing all of the info it works:
> > svn diff <BASE>/dir1/file1@<rev-where-file1-was-first-created>
> > <BASE>/dir2/file1
> >
> > returns what I was expecting. Is this limited this way by design, or is
> > it work-yet-to-be-done ?
>
> That's a bug, I'm pretty sure -- but I thought we'd fixed it.  Has it
> regressed?  (Anyone remember more?)
>
>
> ---------------------------------------------------------------------
> 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: Question on diff across directory copies

Posted by kf...@collab.net.
Christian Daudt <cs...@daudt.org> writes:
>  When I do a diff of a checked out directory (that at some point in the past 
> was "cp"ed from somewhere else) against a revision from before the "cp" 
> ocurred, it fails, like this example:
> 
> 
> but if I manually do it, providing all of the info it works:
> svn diff <BASE>/dir1/file1@<rev-where-file1-was-first-created> 
> <BASE>/dir2/file1
> 
> returns what I was expecting. Is this limited this way by design, or is it 
> work-yet-to-be-done ? 

That's a bug, I'm pretty sure -- but I thought we'd fixed it.  Has it
regressed?  (Anyone remember more?)


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