You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by N D <ni...@gmail.com> on 2008/09/12 09:14:11 UTC

svn switch

i have code from trunk
i execute svn info | grep URL and i see that it points to trunk

i then do a svn switch <url_to_branch>, it gets the code giving A U C G
information on the files, as the case is.
again i execute svn info | grep URL,  and again i see that it still points
to the trunk, i expect that the svn info will tell this time that it is
pointing to trunk

can any comment/add/help?

Re: svn switch

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Sep 12, 2008, at 04:59, N D wrote:

> On Fri, Sep 12, 2008 at 11:41 AM, Ryan Schmidt wrote:
>
>> On Sep 12, 2008, at 04:14, N D wrote:
>>
>>> i have code from trunk
>>> i execute svn info | grep URL and i see that it points to trunk
>>>
>>> i then do a svn switch <url_to_branch>, it gets the code giving A  
>>> U C G information on the files, as the case is.
>>> again i execute svn info | grep URL,  and again i see that it  
>>> still points to the trunk, i expect that the svn info will tell  
>>> this time that it is pointing to trunk
>>>
>>> can any comment/add/help?
>>
>> Could you show us a transcript instead of prose? I would have  
>> expected this to work as well. Also tell us what OS you're on and  
>> what version of Subversion you have.
>
> Transcript is
>
> First I execute:
> <user_home> svn co <url_to_trunk>/prj_name
> After this completes, I execute
> <user_home>svn info | grep URL
> I see this
> URL: https://<host_name>/<path_to_prj>/trunk/<prj_name>
>
> The I execute this command
> <user_home>svn switch https://<host_name>/<path_to_prj>/branches/ 
> <branch1>/<prj_name>
> After this completes, I execute
> <user_home>svn info | grep URL
> I see this
> URL: https://<host_name>/<path_to_prj>/branches/<branch1>/<prj_name>
>
> Which is miraculously correct. I just do not understand now, why it  
> did not work earlir? :(
>
> The OS version I am using is
> Linux 2.4.21-47.EL #1 Wed Jul 5 20:39:00 EDT 2006 i686 athlon i386  
> GNU/Linux


Glad it's working now!


> Btw I am using Subversion version 1.1.4 (r13838).

I recommend you upgrade to the current version, which is 1.5.2.  
Subversion 1.3.x and earlier aren't supported anymore.

http://subversion.tigris.org/svn_1.5_releasenotes.html#svn-1.3- 
deprecation



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

Fwd: svn switch

Posted by N D <ni...@gmail.com>.
Btw I am using *Subversion* <http://subversion.tigris.org/>* version 1.1.4
(r13838).*

---------- Forwarded message ----------
From: N D <ni...@gmail.com>
Date: Fri, Sep 12, 2008 at 11:57 AM
Subject: Re: svn switch
To: Ryan Schmidt <su...@ryandesign.com>
Cc: Subversion Users <us...@subversion.tigris.org>


 Hi Ryan,

Transcript is

First I execute:
<user_home> svn co <url_to_trunk>/prj_name
After this completes, I execute
<user_home>svn info | grep URL
I see this
URL: https://<host_name>/<path_to_prj>/trunk/<prj_name><https://%3chost_name%3e/%3Cpath_to_prj%3E/trunk/%3Cprj_name%3E>

The I execute this command
<user_home>svn switch
https://<host_name>/<path_to_prj>/<https://%3chost_name%3e/%3Cpath_to_prj%3E/trunk/%3Cprj_name%3E>
branches/<branch1>/<prj_name><https://aspr01015.nl.eu.abnamro.com/svn/payments/pfw/branches/v1_11_28_patches/>
 After this completes, I execute
<user_home>svn info | grep URL
I see this
 URL: https://<host_name>/<path_to_prj>/<https://%3chost_name%3e/%3Cpath_to_prj%3E/trunk/%3Cprj_name%3E>
branches<https://aspr01015.nl.eu.abnamro.com/svn/payments/pfw/branches/v1_11_28_patches/>
/<branch1>/<prj_name><https://%3chost_name%3e/%3Cpath_to_prj%3E/trunk/%3Cprj_name%3E>

Which is miraculously correct. I just do not understand now, why it did not
work earlir? :(


The OS version I am using is
Linux 2.4.21-47.EL #1 Wed Jul 5 20:39:00 EDT 2006 i686 athlon i386 GNU/Linux
  On Fri, Sep 12, 2008 at 11:41 AM, Ryan Schmidt <
subversion-2008c@ryandesign.com> wrote:

>
> On Sep 12, 2008, at 04:14, N D wrote:
>
> i have code from trunk
>> i execute svn info | grep URL and i see that it points to trunk
>>
>> i then do a svn switch <url_to_branch>, it gets the code giving A U C G
>> information on the files, as the case is.
>> again i execute svn info | grep URL,  and again i see that it still points
>> to the trunk, i expect that the svn info will tell this time that it is
>> pointing to trunk
>>
>> can any comment/add/help?
>>
>
> Could you show us a transcript instead of prose? I would have expected this
> to work as well. Also tell us what OS you're on and what version of
> Subversion you have.
>
>





-- 
Regards,
Niranjan Deshpande

"Shut yourself from the world and create the reality you want"

Re: svn switch

Posted by N D <ni...@gmail.com>.
Hi Ryan,

Transcript is

First I execute:
<user_home> svn co <url_to_trunk>/prj_name
After this completes, I execute
<user_home>svn info | grep URL
I see this
URL: https://<host_name>/<path_to_prj>/trunk/<prj_name>

The I execute this command
<user_home>svn switch
https://<host_name>/<path_to_prj>/<https://<host_name>/<path_to_prj>/trunk/<prj_name>>
branches/<branch1>/<prj_name><https://aspr01015.nl.eu.abnamro.com/svn/payments/pfw/branches/v1_11_28_patches/>
 After this completes, I execute
<user_home>svn info | grep URL
I see this
 URL: https://<host_name>/<path_to_prj>/<https://<host_name>/<path_to_prj>/trunk/<prj_name>>
branches<https://aspr01015.nl.eu.abnamro.com/svn/payments/pfw/branches/v1_11_28_patches/>
/<branch1>/<prj_name> <https://<host_name>/<path_to_prj>/trunk/<prj_name>>

Which is miraculously correct. I just do not understand now, why it did not
work earlir? :(


The OS version I am using is
Linux 2.4.21-47.EL #1 Wed Jul 5 20:39:00 EDT 2006 i686 athlon i386 GNU/Linux
On Fri, Sep 12, 2008 at 11:41 AM, Ryan Schmidt <
subversion-2008c@ryandesign.com> wrote:

>
> On Sep 12, 2008, at 04:14, N D wrote:
>
> i have code from trunk
>> i execute svn info | grep URL and i see that it points to trunk
>>
>> i then do a svn switch <url_to_branch>, it gets the code giving A U C G
>> information on the files, as the case is.
>> again i execute svn info | grep URL,  and again i see that it still points
>> to the trunk, i expect that the svn info will tell this time that it is
>> pointing to trunk
>>
>> can any comment/add/help?
>>
>
> Could you show us a transcript instead of prose? I would have expected this
> to work as well. Also tell us what OS you're on and what version of
> Subversion you have.
>
>

Re: svn switch

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Sep 12, 2008, at 04:14, N D wrote:

> i have code from trunk
> i execute svn info | grep URL and i see that it points to trunk
>
> i then do a svn switch <url_to_branch>, it gets the code giving A U  
> C G information on the files, as the case is.
> again i execute svn info | grep URL,  and again i see that it still  
> points to the trunk, i expect that the svn info will tell this time  
> that it is pointing to trunk
>
> can any comment/add/help?

Could you show us a transcript instead of prose? I would have  
expected this to work as well. Also tell us what OS you're on and  
what version of Subversion you have.


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

Re: Checksum error during commit

Posted by David Weintraub <qa...@gmail.com>.
I've seen that once. I got rid of it by deleting the file, then doing
an update which brought the file back. That seemed to fix the
checksum. Must be a better way to deal with it.

This is what I did:

$ mv foo.java foo.java.temp
$ svn update foo.java
restored 'foo.java'
At revision 23932
$ mv foo.java.temp foo.java
$ svn commit -m"This time it worked"

I believe it has to do with the version of the file and the checksum
stored in the .svn directory.

--
David Weintraub
qazwart@gmail.com



On Fri, Sep 12, 2008 at 5:43 AM,  <sa...@rbs.com> wrote:
> Any clue on this error while trying to commit a file
>
>
>
> Error: Commit failed (details follow):
>
> Error: Checksum mismatch, rep 'pi':
>
> Error:    expected:  eed8c04cfc6a5153ec65ed3ddda4a8e7
>
> Error:      actual:  1545c296e091270cefbcea1f1cc3661f
>
>
>
>
>
>
>
> Sandeep
>
> ***********************************************************************************
> The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered
> Office: 36 St Andrew Square, Edinburgh EH2 2YB.
> Authorised and regulated by the Financial Services Authority
>
> This e-mail message is confidential and for use by the
> addressee only. If the message is received by anyone other
> than the addressee, please return the message to the sender
> by replying to it and then delete the message from your
> computer. Internet e-mails are not necessarily secure. The
> Royal Bank of Scotland plc does not accept responsibility for
> changes made to this message after it was sent.
>
> Whilst all reasonable care has been taken to avoid the
> transmission of viruses, it is the responsibility of the recipient to
> ensure that the onward transmission, opening or use of this
> message and any attachments will not adversely affect its
> systems or data. No responsibility is accepted by The
> Royal Bank of Scotland plc in this regard and the recipient should carry
> out such virus and other checks as it considers appropriate.
> Visit our websites at:
> www.rbs.com
> www.rbs.com/gbm
> www.rbsgc.com
> ***********************************************************************************
>

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

Re: Checksum error during commit

Posted by David Weintraub <qa...@gmail.com>.
Actually, it looks like this post might help you:
<http://ddkonline.blogspot.com/2008/02/error-checksum-mismatch-for-filename.html>

--
David Weintraub
qazwart@gmail.com



On Fri, Sep 12, 2008 at 5:43 AM,  <sa...@rbs.com> wrote:
> Any clue on this error while trying to commit a file
>
>
>
> Error: Commit failed (details follow):
>
> Error: Checksum mismatch, rep 'pi':
>
> Error:    expected:  eed8c04cfc6a5153ec65ed3ddda4a8e7
>
> Error:      actual:  1545c296e091270cefbcea1f1cc3661f
>
>
>
>
>
>
>
> Sandeep
>
> ***********************************************************************************
> The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered
> Office: 36 St Andrew Square, Edinburgh EH2 2YB.
> Authorised and regulated by the Financial Services Authority
>
> This e-mail message is confidential and for use by the
> addressee only. If the message is received by anyone other
> than the addressee, please return the message to the sender
> by replying to it and then delete the message from your
> computer. Internet e-mails are not necessarily secure. The
> Royal Bank of Scotland plc does not accept responsibility for
> changes made to this message after it was sent.
>
> Whilst all reasonable care has been taken to avoid the
> transmission of viruses, it is the responsibility of the recipient to
> ensure that the onward transmission, opening or use of this
> message and any attachments will not adversely affect its
> systems or data. No responsibility is accepted by The
> Royal Bank of Scotland plc in this regard and the recipient should carry
> out such virus and other checks as it considers appropriate.
> Visit our websites at:
> www.rbs.com
> www.rbs.com/gbm
> www.rbsgc.com
> ***********************************************************************************
>

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

Checksum error during commit

Posted by sa...@rbs.com.
Any clue on this error while trying to commit a file

Error: Commit failed (details follow):
Error: Checksum mismatch, rep 'pi':
Error:    expected:  eed8c04cfc6a5153ec65ed3ddda4a8e7
Error:      actual:  1545c296e091270cefbcea1f1cc3661f



Sandeep

***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
Authorised and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the 
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender 
by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The 
Royal Bank of Scotland plc does not accept responsibility for 
changes made to this message after it was sent. 

Whilst all reasonable care has been taken to avoid the 
transmission of viruses, it is the responsibility of the recipient to 
ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its 
systems or data. No responsibility is accepted by The 
Royal Bank of Scotland plc in this regard and the recipient should carry 
out such virus and other checks as it considers appropriate. 
Visit our websites at: 
www.rbs.com
www.rbs.com/gbm
www.rbsgc.com
***********************************************************************************