Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shelving and UnShelving TortoiseHG code on two separate computers?

Can i shelve some code I've been working on, at work, with TortoiseHG .. go home .. pull/merge/update ... and then UnShelve and continue working at home?

Does TortoiseHG offer this?

At work, I created a new shelve and added all my 'touched' files into the shelve. But when I got home I couldn't find/see the shelve, etc.

like image 852
Pure.Krome Avatar asked Oct 18 '11 21:10

Pure.Krome


People also ask

What does Unshelve changes mean?

Unshelve changes Unshelving is moving postponed changes from a shelf to a pending changelist. Unshelved changes can be filtered out from view or removed from the shelf. In the Shelf tab, select the changelist or the files you want to unshelve.

What is TortoiseHg used for?

TortoiseHg is a set of graphical tools and a shell extension for the Mercurial distributed revision control system. On Windows, TortoiseHg consists of a shell extension, which provides overlay icons and context menus in your file explorer, and a command line program named thg.exe which can launch the TortoiseHg tools.


2 Answers

The shelf is just a file on the local copy of the repository, so if you are working from another computer you won't see the shelf.

Note: TortoiseHg's implementation is just to create a diff in the file .hg\shelve, so potentially you could email the file home and place it in the .hg folder (being careful not to destroy an existing shelf of course!)

like image 70
Mark Tolonen Avatar answered Sep 23 '22 13:09

Mark Tolonen


MQ with pull|push including mq-patches maybe more natural way

like image 2
Lazy Badger Avatar answered Sep 24 '22 13:09

Lazy Badger