Thread (5 messages) flat view 5 messages, 2 authors, 2016-06-15

Re: [PATCH] Add "list" and "rm" sub commands to tg-depend

From: Bert Wesarg <hidden>
Date: 2016-06-15 22:46:35

2009/4/9 Ira Weiny [off-list ref]:
On Thu, 9 Apr 2009 14:43:37 +0200
Uwe Kleine-König [off-list ref] wrote:
quoted
You might want to check

      http:// thread.gmane.org/gmane.comp.version-control.git/114581
Ah this brings up more issues I had not thought about...  :-(  But perhaps
Bert's work could be used to help implement "rm".  Thoughts?
No, it wont help. Because the base and tip of the topic should not
changed in respect to the old state (expect for .topdeps of course).

If you really want to remove a dependency, you need to revert a merge
of this dep from the topic base. which is not possible today, or maybe
I have just an idea for this:

  'topic': the topic
  'base':  the base of the topic, i.e. a merge from all dependent
topics dep0, ..., depN

say you want to remove dep0

  1) merge all deps dep1, ..,depN into 'new-base'

  2) merge 'new-base' into base with the merge driver 'theirs', that
would overwrite all changes from dep0 in the 'base'

  3) update 'topic' to the updated 'base'

Any thoughts from someone who knows more than me?

Bert
Thanks,
Ira
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help