摘要 |
In an embodiment, a method for synchronizing browser documents is described. The method may include losing a connection to a version control server at a client device having first and second instances of a document open in first and second browser windows of a browser. The method may also include storing a first branch corresponding to the first instance of the document in local storage associated with the first browser. The first branch may indicate whether the first instance of the document is open or abandoned and one or more first changes. The method may also include the second browser window automatically determining that the first instance of the document is abandoned. The method may also include the second browser window automatically merging the one or more first changes into the second instance of the document in response to determining that the first instance of the document is abandoned. |