You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Remi Verchere <rv...@gmail.com> on 2009/12/22 16:38:53 UTC

Issue with -r option and deleted folder

Hi all,

I have an issue with the -r option with deleted folder.

In repository A, I have a folder foo/bar at revision 10.
I delete the 'bar' folder in revision 11.

When I use the -r option to retrieve the revision 10, I get an error :
$ svn co http://svn.example.com/A/trunk/foo/bar -r 10
svn: '/A/!svn/bc/11/trunk/foo/bar' path not found

When I checkout the revision 10, no issues :
$ svn co http://svn.example.com/A/trunk/foo/bar@10
[...]
Checked out revision 10.

Do I have to report this bug ? Can someone explain me the difference
between -r and @ options ?

Regards,

Remi

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2432356

Please start new threads on the <us...@subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <us...@subversion.apache.org>.

Re: Issue with -r option and deleted folder

Posted by Remi Verchere <rv...@gmail.com>.
2009/12/22 Daniel Torreblanca <re...@gmail.com>:
> On Tue, Dec 22, 2009 at 11:38 AM, Remi Verchere <rv...@gmail.com> wrote:
>> Hi all,
>>
>> I have an issue with the -r option with deleted folder.
>>
>> In repository A, I have a folder foo/bar at revision 10.
>> I delete the 'bar' folder in revision 11.
>>
>> When I use the -r option to retrieve the revision 10, I get an error :
>> $ svn co http://svn.example.com/A/trunk/foo/bar -r 10
>> svn: '/A/!svn/bc/11/trunk/foo/bar' path not found
>>
>> When I checkout the revision 10, no issues :
>> $ svn co http://svn.example.com/A/trunk/foo/bar@10
>> [...]
>> Checked out revision 10.
>>
>> Do I have to report this bug ? Can someone explain me the difference
>> between -r and @ options ?
>>
>> Regards,
>>
>> Remi
>
> Remi, read http://svnbook.red-bean.com/en/1.5/svn-book.html#svn.advanced.pegrevs
>
> I don't understand why you seem to be using peg revision syntax to
> check out your working copy in one instance but expect it to work
> without the peg revision in another....?
>
> Daniel
>
Thanks for the link, I did not know such differences between peg and
op revisions, and thought that @ and -r options had the same
behaviour.
Basically, I use operationnal revisions in svn:externals, I should use
peg instead.

Thanks,

Remi

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2432429

Please start new threads on the <us...@subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <us...@subversion.apache.org>.

Re: Issue with -r option and deleted folder

Posted by Daniel Torreblanca <re...@gmail.com>.
On Tue, Dec 22, 2009 at 11:38 AM, Remi Verchere <rv...@gmail.com> wrote:
> Hi all,
>
> I have an issue with the -r option with deleted folder.
>
> In repository A, I have a folder foo/bar at revision 10.
> I delete the 'bar' folder in revision 11.
>
> When I use the -r option to retrieve the revision 10, I get an error :
> $ svn co http://svn.example.com/A/trunk/foo/bar -r 10
> svn: '/A/!svn/bc/11/trunk/foo/bar' path not found
>
> When I checkout the revision 10, no issues :
> $ svn co http://svn.example.com/A/trunk/foo/bar@10
> [...]
> Checked out revision 10.
>
> Do I have to report this bug ? Can someone explain me the difference
> between -r and @ options ?
>
> Regards,
>
> Remi

Remi, read http://svnbook.red-bean.com/en/1.5/svn-book.html#svn.advanced.pegrevs

I don't understand why you seem to be using peg revision syntax to
check out your working copy in one instance but expect it to work
without the peg revision in another....?

Daniel

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2432379

Please start new threads on the <us...@subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <us...@subversion.apache.org>.

RE: Issue with -r option and deleted folder

Posted by Bob Archer <bo...@amsi.com>.
> I have an issue with the -r option with deleted folder.
> 
> In repository A, I have a folder foo/bar at revision 10.
> I delete the 'bar' folder in revision 11.
> 
> When I use the -r option to retrieve the revision 10, I get an
> error :
> $ svn co http://svn.example.com/A/trunk/foo/bar -r 10
> svn: '/A/!svn/bc/11/trunk/foo/bar' path not found
> 
> When I checkout the revision 10, no issues :
> $ svn co http://svn.example.com/A/trunk/foo/bar@10
> [...]
> Checked out revision 10.
> 
> Do I have to report this bug ? Can someone explain me the
> difference
> between -r and @ options ?

REading the book will help. But basically that path isn't available in the HEAD revision then subversion won't be able to find it.

BOb

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2432386

Please start new threads on the <us...@subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <us...@subversion.apache.org>.