LISTSERV mailing list manager LISTSERV 16.5

Help for HPS-SOFTWARE Archives


HPS-SOFTWARE Archives

HPS-SOFTWARE Archives


HPS-SOFTWARE@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

HPS-SOFTWARE Home

HPS-SOFTWARE Home

HPS-SOFTWARE  February 2015

HPS-SOFTWARE February 2015

Subject:

Re: resolving SVN conflict

From:

Nathan Baltzell <[log in to unmask]>

Reply-To:

Software for the Heavy Photon Search Experiment <[log in to unmask]>

Date:

Thu, 12 Feb 2015 20:45:12 -0500

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (121 lines)

One thing worth doing before investigating is to remove the possibility of 
problems due to case-insensitivity.  No two classes/files/whatever with same
name with different cases.  It's worth a shot ...
-Nathan


On Feb 12, 2015, at 5:51 PM, Omar Moreno <[log in to unmask]> wrote:

> 
> 
> On Thu, Feb 12, 2015 at 2:32 PM, McCormick, Jeremy I. <[log in to unmask]> wrote:
> Hi, Omar.
> 
> > Did you rename the old version SVTEvioReader to SvtEvioReader and forgot?  Does the file that you have locally match what is in the trunk? 
> 
> I did not do anything to these files.  I was working from what was in SVN trunk.  I think something you did with these files made it look like there was an untracked local copy on multiple people's working copy of the trunk.  I did a diff of the local copies of SvtEvioReader.java and SVTEvioReader.java and there was no difference.  So I deleted SVTEvioReader.java, and along with a few svn commands to fix up my local copy so that it didn't see conflicts, that seemed to resolve the problem.
> 
> I​ simply committed the files so I'm not sure how that could have affected anything and SVN did know about the two different files yesterday.  I'm not sure what could have caused this on my end ...​
> 
> If I understand correctly the restructuring you did of these classes, the TestRunSvtEvioReader class is intended to replace the old SVTEvioReader, and SvtEvioReader is the new class for future runs.  So there is really no need to keep around SVTEvioReader.java if it is not being used, and it is not used in the code right now from what I can tell.  There's also no need to "sandbox" it because it is still present in prior revisions before it was deleted, should we ever need to recover it.
> 
> ​Yes, that was the eventual plan.  However, there was code in there that I was still going to port over (specifically, temperatures).   I guess I can always revert and rename the file myself but I'll just untrack my local copy.  I know you want to maintain the repo as clean as possible, but send me an email next time before you decide to delete something SVT related.  That will give me a chance to back it up if I need too. 
> ​​
> It seemed to me that everything is fine now because both your tests of Test Run and Engineering Run event building using the readers passed successfully when I ran the build.
> ​
> Both of the test were running before.  Where you having problems running the test? The build didn't fail when I committed the files a couple of days ago so I assumed that it was fine. ​ 
> 
> Or is something messed up in your working copy now?
> 
> ​My working copy is fine and has been fine since my last update (yesterday).  Unless you did something other than deleting SVTEvioReader, I should be fine when I update again.
> 
> 
> —Jeremy
> 
> On Feb 12, 2015, at 1:31 PM, Omar Moreno <[log in to unmask]> wrote:
> 
>> This is the version of SVTEvioReader as of yesterday: 
>> 
>> http://java.freehep.org/svn/repos/hps/show/java/trunk/evio/src/main/java/org/hps/evio/SVTEvioReader.java?revision=%7b2015-02-11%7d
>> 
>> As you can see, it's completely different.  The SVN message you got seems to imply that you already had an untracked local copy of SvtEvioReader.  Did you rename the old version SVTEvioReader to SvtEvioReader and forgot?  Does the file that you have locally match what is in the trunk? 
>> 
>> 
>> 
>> On Thu, Feb 12, 2015 at 1:08 PM, Omar Moreno <[log in to unmask]> wrote:
>> ​i just did a diff on the two files I have locally and they are completely different. I haven't updated in a couple of days though. Let me check the commit logs and try to decipher what happened.
>> 
>> I did a diff on the two files and they were exactly the same, so the old one must have gotten clobbered somehow.
>> 
>> But wasn’t the intention here that you preserved the Test Run code here
>> 
>> evio/src/main/java/org/hps/evio/TestRunSvtEvioReader.java
>> 
>> So I don’t think we need the old SVTEvioReader.java file at all now, unless I’m not understanding what you did.
>> 
>> On Feb 12, 2015, at 12:32 PM, Omar Moreno <[log in to unmask]> wrote:
>> 
>>> SVTEvioReader was not added inadvertently, that was the original SVT Evio reader used for the test run.   That said, can you un-delete the file and rename it or put it in the sandbox?   I never made sure if everything in the file was ported over to the new reader so it shouldn't have been deleted. 
>>> 
>>> On Thu, Feb 12, 2015 at 12:22 PM, McCormick, Jeremy I. <[log in to unmask]> wrote:
>>> Hi,
>>> 
>>> I found there was a strange problem in my copy of the HPS Java trunk today. 
>>> 
>>> There was a conflict reported about this file.
>>> 
>>> src/main/java/org/hps/evio/SvtEvioReader.java
>>> 
>>> I think the problem was that there was also inadvertently added a file called “SVTEvioReader.java” which on some platforms/configurations is considered the same file.  Or there was a rename that didn’t work properly.  (Not sure.)
>>> 
>>> So even after fully updating I was getting some messages like
>>> 
>>> [564 $] svn status
>>> D     C src/main/java/org/hps/evio/SvtEvioReader.java
>>>       >   local unversioned, incoming add upon update
>>> Summary of conflicts:
>>>   Tree conflicts: 1
>>> 
>>> To resolve this I did
>>> 
>>> svn resolve accept --working src/main/java/org/hps/evio/SvtEvioReader.java
>>> 
>>> after which the conflict was resolved but it still seemed to want to mark it as deleted anyways
>>> 
>>> [567 $] svn status
>>> D       src/main/java/org/hps/evio/SvtEvioReader.java
>>> 
>>> so then I did 
>>> 
>>> [568 $] svn revert src/main/java/org/hps/evio/SvtEvioReader.java
>>> Reverted 'src/main/java/org/hps/evio/SvtEvioReader.java'
>>> 
>>> And all seems to be well now.
>>> 
>>> If you have any trouble with this let me know.
>>> 
>>> —Jeremy
>>> 
>>> Use REPLY-ALL to reply to list
>>> 
>>> To unsubscribe from the HPS-SOFTWARE list, click the following link:
>>> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
>>> 
>>> 
>> 
>> 
> 
> 
> 
> Use REPLY-ALL to reply to list
> 
> To unsubscribe from the HPS-SOFTWARE list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
> 

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

May 2024
April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
June 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use