Skip to content
This repository has been archived by the owner on Feb 8, 2020. It is now read-only.

scenario: variable rename + add new variable use #12

Open
mndrix opened this issue Sep 12, 2015 · 0 comments
Open

scenario: variable rename + add new variable use #12

mndrix opened this issue Sep 12, 2015 · 0 comments

Comments

@mndrix
Copy link
Owner

mndrix commented Sep 12, 2015

Imagine code that starts like this:

foo
bar
baz

One branch renames bar to barr:

foo
barr
baz

Another branch invokes bar again.

foo
bar
baz
bar

The correct merge result is:

foo
barr
baz
barr

I suspect that most VCS tools will "successfully" merge but produce a compiler error or incorrect output. Darcs is perhaps the exception since it has first class replace patches.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant