Book a Demo

Author Topic: Possible Bug: Re-configuring package for CVS  (Read 3283 times)

morsor

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
  • insert text here
    • View Profile
Possible Bug: Re-configuring package for CVS
« on: November 06, 2006, 05:23:11 am »
I created a new project and configured 'Implementation Model' for version control with CVS, leaving it checked out.

After checking it in I removed it from version control and the XMI was gone. So far, so good.

Next, I wanted to configure it for version control again - but it failed stating 'A file by this name already exists in Version Control. Please choose another name.'

Is this expected and reasonable behavior - or caused by my ignorance of CVS, EA or both? Or is it a bug?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Possible Bug: Re-configuring package for CVS
« Reply #1 on: November 07, 2006, 01:06:29 pm »
I've run into this myself and found that it's just CVS behaviour.

CVS never actually removes a file from version control, so as far is it is concerned the file still exists but is inactive.  So from that point of view it is right to say that it already exists.

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Possible Bug: Re-configuring package for CVS
« Reply #2 on: November 07, 2006, 11:25:42 pm »
If you have CVS controlled package in two projects and remove version control in one project, it's quite diserable to leave this package in CVS for the second project.

Peter

morsor

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
  • insert text here
    • View Profile
Re: Possible Bug: Re-configuring package for CVS
« Reply #3 on: November 08, 2006, 12:47:21 am »
Doesn't that effectively mean that configuring a package for version control can only happen once (under that name)?

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: Possible Bug: Re-configuring package for CVS
« Reply #4 on: November 08, 2006, 02:58:00 am »
Maybe set different projects (or packages) under different root folder names, or even different branch names.

This allows same package names for different models.

It's analogous to using EA - you don't place everything in a top-level package or diagram; you have to decide on some kind of architecture in which to place things.

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Possible Bug: Re-configuring package for CVS
« Reply #5 on: November 08, 2006, 03:24:52 am »
Quote
Doesn't that effectively mean that configuring a package for version control can only happen once (under that name)?


Go to CVS and delete the file manualy if realy don't need it.
Peter