GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » EMC » Problem with svn commit
Problem with svn commit [message #10620] Wed, 05 May 2010 11:07 Go to next message
Dmitry Morozov is currently offline  Dmitry Morozov
Messages: 34
Registered: May 2007
Location: Protvino, Russia
continuous participant
From: *ihep.su
Hi EMCers,

I'm trying to incorporate Forward Shashlyk Calorimeter code into EMC. I did the following:

1) Added materials for FscFiber and tyvek (wrapping) to media_pnd.geo
2) Created geometry in root format in fashion as other modules - emc_module5_fsc.root
3) Writed a macro for geometry creation: createRootFscGeometryFile.C
4) Modified PndEmc class:
- Added function ConstructRootGeomMod5()
- Added function SetGeometryFileNameQuadruple
- Modified the function ConstructGeometry
- Modified SetGeometryVersion function adding versions 16 (fsc only) and 17 (whole emc) of geometry.
- Modified ProcessHits functions to produce points inside FSC
5) Modified EMC mapper class:
- Added instances 8 (PndEmcMapperGeo5Root) and 9 (PndEmcMapperGeo12Dat345Root) for geomtry versions 16 and 17 respectively

Everything is compiled and working somehow.
-------------------------------------------
But I can not commit anything to repo. I have svn account.
Two questions have arisen:
1) For example I do the following:
svn commit media_pnd.geo
and got error:
svn: Server sent unexpected return value (403 Forbidden) in response to CHECKOUT request for '/fairroot/!svn/ver/8024/pandaroot/trunk/geometry/media_pnd.geo'
svn: Your commit message was left in a temporary file:
svn: '/home/freez/fairsoft/pandaroot/trunk/svn-commit.tmp'


Does anybody know what the problem with that?

2) Another question is how to add new file which is absent in repository (as emc_module5_fsc.root)? If I try to commit it, svn says the file is not under version control.

Any help would be appreciated.

Dmitry.
Re: Problem with svn commit [message #10622 is a reply to message #10620] Wed, 05 May 2010 11:41 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Dmitry Morozov wrote on Wed, 05 May 2010 11:07

1) For example I do the following:
svn commit media_pnd.geo
and got error:
svn: Server sent unexpected return value (403 Forbidden) in response to CHECKOUT request for '/fairroot/!svn/ver/8024/pandaroot/trunk/geometry/media_pnd.geo'
svn: Your commit message was left in a temporary file:
svn: '/home/freez/fairsoft/pandaroot/trunk/svn-commit.tmp'


Does anybody know what the problem with that?



No idea. Do you have a svn account with the correct write permissions?

Quote:


2) Another question is how to add new file which is absent in repository (as emc_module5_fsc.root)? If I try to commit it, svn says the file is not under version control.



This is easier.
Before committing the file:

svn add emc_module5_fsc.root


After, you can commit the file.
Re: Problem with svn commit [message #10623 is a reply to message #10620] Wed, 05 May 2010 11:49 Go to previous messageGo to next message
Dima Melnychuk is currently offline  Dima Melnychuk
Messages: 213
Registered: April 2004
Location: National Centre for Nucle...
first-grade participant
From: *fuw.edu.pl
Quote:


1) For example I do the following:
svn commit media_pnd.geo
and got error:
svn: Server sent unexpected return value (403 Forbidden) in response to CHECKOUT request for '/fairroot/!svn/ver/8024/pandaroot/trunk/geometry/media_pnd.geo'
svn: Your commit message was left in a temporary file:
svn: '/home/freez/fairsoft/pandaroot/trunk/svn-commit.tmp'



It looks like you don't have write permission to the /trunk/geometry
So I think you should ask Mohammad for it.
Re: Problem with svn commit [message #10631 is a reply to message #10620] Thu, 06 May 2010 05:53 Go to previous message
Dmitry Morozov is currently offline  Dmitry Morozov
Messages: 34
Registered: May 2007
Location: Protvino, Russia
continuous participant
From: 194.190.166*
Thanks for the answers.

Actually I've already asked Mohammad to create account for me with write permissions. He did this.
But I'll check with him again.

Dmitry.
Previous Topic: Modifications in EMC classes
Next Topic: backward endcap time consuming
Goto Forum:
  


Current Time: Wed Nov 27 21:43:28 CET 2024

Total time taken to generate the page: 0.00852 seconds