When doing modifications in offline mode, a new offline branche is created. When closing and restarting the application the wrong branche is loaded. The changes that I've made in offline mode are gone.. Is this a bug or am I doing something wrong?

Am 06.02.2013 09:40, schrieb Ricky de Klerck:
> Hi,
>
> When doing modifications in offline mode, a new offline branche is created. When closing and restarting the
> application the wrong branche is loaded. The changes that I've made in offline mode are gone.. Is this a bug or am I
> doing something wrong?
Neither, I'd say. You're probably just missing a minor but important step if you want to keep working in offline
branches across application restarts.

First, changes in a repo are never gone if auditing (or branching) is enabled. Especially branches can not be deleted.

Second, to be able to work with these offline branches after a client restart this client must store the ID of this
branch somewhere, e.g. in the file system. Here's some example code: