[ET Trac] [Einstein Toolkit] #554: GetComponents deletes local changes

Einstein Toolkit trac-noreply at einsteintoolkit.org
Wed Sep 14 21:57:38 CDT 2011


#554: GetComponents deletes local changes
----------------------------+-----------------------------------------------
  Reporter:  eschnett       |       Owner:  eric9     
      Type:  defect         |      Status:  review    
  Priority:  minor          |   Milestone:  ET_2011_11
 Component:  GetComponents  |     Version:            
Resolution:                 |    Keywords:            
----------------------------+-----------------------------------------------

Comment (by knarf):

 Ok, good. That leaves as open question whether GetComponents should do the
 switch in the first place. There are arguments for and against it. For
 doing the switch could speak that you ask GetComponents to update given
 thornlist, which might indicate that you actually want to update using the
 URLs in that thornlist. Of course, against it speaks that since the
 checkout points to actually different code (within the same repository),
 this is likely to be intentionally and all you want is to update that, and
 not to move to a different branch.

 GetComponents cannot know what you actually want. It was asked to update a
 repository with URL A, but instead finds one with URL B. The best solution
 in that case might actually be to not do anything to the repository, and
 reporting this as error. Note that this would be different from the
 relocating switches, which would still happen.

 Opinions?

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/554#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list