On Saturday, April 8, 2017 at 11:29:37 PM UTC-5, Edward K. Ream wrote:

..it is difficult to switch between branches in such a way that 
> Ctrl+Shift+W, write-at-file-nodes, doesn't change files when the branch 
> changes outline structure.
>

There is a better workaround, namely, use a separate local leoPy.leo for 
each branch:

- Create a directory, *not tracked by git*, to hold the copies, say 
~/LeoPy-Copies. This is the *copies folder*.

- When switching *out of* branch x, copy leoPy.leo from leo/core *to* the 
copies folder as* x-*leoPy.leo.

- When switching *into* branch y, copy *y*-leoPy.leo *from *the copies 
folder to leo/core, renamed as leoPy.leo.

- In the copies folder, master-leoPy.leo is the copy of leoPy.leo from 
master.

As a result:

- leo/core/leoPy.leo should always be in sync with the code in the present 
branch.

- All files in the copies folder clearly indicate to which branch they 
belong.

I'll be using (testing) this today.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to