On 6/9/12 3:43 PM, Jonathan "Duke" Leto wrote:
Howdy,
$ git checkout -b nwellnhof/compiler_flags origin/nwellnhof/compiler_flags
error: Untracked working tree file 'tools/dev/pbc_to_exe.pir' would be
overwritten by merge.
This is a new error. Looking into tools/dev/pbc_to_exe.pir, I see:
In general, Git tries very hard to not lose your data, so this is it
being very prudent and telling you that a file that is not versioned
would be overwritten by checking out the other branch. Yeah, it talks
about a merge, even though you are doing a checkout, because under the
hood, checkout uses merge.
This is happening because tools/dev/pbc_to_exe.pir used to be
hand-written code (and still is in the compiler_flags branch) but it
was recently ported to Winxed, so it is now generated code (in
master).
There are at least 2 ways around this:
1) rm tools/dev/pbc_to_exe.pir&& git checkout ...
2) Merge master into nwellnhof/compiler_flags
My vote would be #2, but I will leave it up to Nick, since it is his branch.
I ended up doing both. I have brought nwellnhof/compiler_flags
up-to-date with master and have confirmed that in builds and passes
'make test' on Linux/i386 and Darwin/ppc.
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev