Monticello could not find version...and I don't care about it

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Monticello could not find version...and I don't care about it

j blatter
Suppose you have a Monticello repository with

Xxxx-in.6   <---- this is what you want to load
Xxxx-in.4   <---- this is what you have now loaded
Xxxx-in.3
...

Error: Could not find version ' Xxxx-in.5'. Maybe you need to add a repository?

hey, not at all son.
What's the problem if I haven't the 5th ? That's not an Error, I don't care for the 5th, it's lost, so it'd be a Notification don't you think so?
cheers



Reply | Threaded
Open this post in threaded view
|

Re: Monticello could not find version...and I don't care about it

Bert Freudenberg

On May 16, 2007, at 23:52 , j blatter wrote:

> Suppose you have a Monticello repository with
>
> Xxxx-in.6   <---- this is what you want to load
> Xxxx-in.4   <---- this is what you have now loaded
> Xxxx-in.3
> ...
>
> Error: Could not find version ' Xxxx-in.5'. Maybe you need to add a  
> repository?
>
> hey, not at all son.
> What's the problem if I haven't the 5th ? That's not an Error, I  
> don't care for the 5th, it's lost, so it'd be a Notification don't  
> you think so?

Depends on what you tried to do. For merging and diffing this version  
might actually be needed.

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: Monticello could not find version...and I don't care about it

j blatter
I mean: Let the programmer choose if it's needed or not. What's the problem with that? You can popup a dialog "Look gosh, I don't find the previous version, if do you really care you can abort the operation. Want to abort?"
If I'm merging or diffing or loading is not the point. A source control tool should give the control to the programmer *not* to the program.

2007/5/16, Bert Freudenberg <[hidden email]>:

On May 16, 2007, at 23:52 , j blatter wrote:

> Suppose you have a Monticello repository with
>
> Xxxx-in.6   <---- this is what you want to load
> Xxxx-in.4   <---- this is what you have now loaded
> Xxxx-in.3
> ...
>
> Error: Could not find version ' Xxxx-in.5'. Maybe you need to add a
> repository?
>
> hey, not at all son.
> What's the problem if I haven't the 5th ? That's not an Error, I
> don't care for the 5th, it's lost, so it'd be a Notification don't
> you think so?

Depends on what you tried to do. For merging and diffing this version
might actually be needed.

- Bert -






Reply | Threaded
Open this post in threaded view
|

Re: Monticello could not find version...and I don't care about it

Bert Freudenberg
On May 17, 2007, at 0:18 , j blatter wrote:

> I mean: Let the programmer choose if it's needed or not. What's the  
> problem with that? You can popup a dialog "Look gosh, I don't find  
> the previous version, if do you really care you can abort the  
> operation. Want to abort?"

Huh? You're not making sense. If that version is needed there is no  
choice, you only can abort. And that's what the friendly pink window  
told you.

> If I'm merging or diffing or loading is not the point.

I just pointed out the cases where you really need a specific  
version. Like, a differential version is no full version, it *needs*  
its base version to be loadable. No way around that. Same for merging  
- you need the last common ancestor to find out what changed in your  
version vs. the version to be merged.

In other cases you should not see that error, if you did, its a bug.  
So again - what did you actually try to do?

- Bert -


> A source control tool should give the control to the programmer  
> *not* to the program.
>
> 2007/5/16, Bert Freudenberg < [hidden email]>:
> On May 16, 2007, at 23:52 , j blatter wrote:
>
> > Suppose you have a Monticello repository with
> >
> > Xxxx-in.6   <---- this is what you want to load
> > Xxxx-in.4   <---- this is what you have now loaded
> > Xxxx-in.3
> > ...
> >
> > Error: Could not find version ' Xxxx-in.5'. Maybe you need to add a
> > repository?
> >
> > hey, not at all son.
> > What's the problem if I haven't the 5th ? That's not an Error, I
> > don't care for the 5th, it's lost, so it'd be a Notification don't
> > you think so?
>
> Depends on what you tried to do. For merging and diffing this version
> might actually be needed.
>
> - Bert -
>



Reply | Threaded
Open this post in threaded view
|

Re: Monticello could not find version...and I don't care about it

j blatter


2007/5/16, Bert Freudenberg <[hidden email]>:
On May 17, 2007, at 0:18 , j blatter wrote:

> I mean: Let the programmer choose if it's needed or not. What's the
> problem with that? You can popup a dialog "Look gosh, I don't find
> the previous version, if do you really care you can abort the
> operation. Want to abort?"

Huh? You're not making sense. If that version is needed there is no
choice, you only can abort. And that's what the friendly pink window
told you.

> If I'm merging or diffing or loading is not the point.

I just pointed out the cases where you really need a specific
version. Like, a differential version is no full version, it *needs*
its base version to be loadable. No way around that.

Ok, I was merging.
Well, let me see if I've understood what you mean. You're saying that when I'm merging, the stuff what is going to be merged (do you call this "a differential version"?) isn't enough to perform the merging, so it *needs* the previous ancestor.
If that's correct I ask then. Why don't just search for another common ancestor and notify/popup the choice to the programmer if that's the case?. I'm pretty sure the "really need specific version" (version 5 below) is mostly = to the previous one (version 4 below).
So the workaround of this problem....recalling

Xxxx-in.6   <---- this is what you want to merge
Xxxx-in.4   <---- this is what you have now
Xxxx-in.3

(a.k.a. my stupid little brother deleted Xxxx-in.5)
is to rename or copy manually Xxxx-in.4 to Xxxx-in.5?
How can one still merge if a intermediate version isn't there?

thanks

Same for merging
- you need the last common ancestor to find out what changed in your
version vs. the version to be merged.

In other cases you should not see that error, if you did, its a bug.
So again - what did you actually try to do?

- Bert -


> A source control tool should give the control to the programmer
> *not* to the program.
>
> 2007/5/16, Bert Freudenberg < [hidden email]>:
> On May 16, 2007, at 23:52 , j blatter wrote:
>
> > Suppose you have a Monticello repository with
> >
> > Xxxx-in.6   <---- this is what you want to load
> > Xxxx-in.4    <---- this is what you have now loaded
> > Xxxx-in.3
> > ...
> >
> > Error: Could not find version ' Xxxx-in.5'. Maybe you need to add a
> > repository?
> >
> > hey, not at all son.
> > What's the problem if I haven't the 5th ? That's not an Error, I
> > don't care for the 5th, it's lost, so it'd be a Notification don't
> > you think so?
>
> Depends on what you tried to do. For merging and diffing this version
> might actually be needed.
>
> - Bert -
>