Mercurial shelve extension – how can you view the diff of a shelf?
hg shelve -l -p [name of shelf]. To get the shelves list one could use hg shelve -l.
hg shelve -l -p [name of shelf]. To get the shelves list one could use hg shelve -l.
Unshelving is how you restore the shelveset to your machine so you can keep working on it. It doesn’t change the shelveset on the server (to do that you need to shelve things again and use the same shelveset name). One example for how I use it is to move changes between machines while I’m … Read more
p4 describe -S 1234 should to the trick, see the documentation on describe. To see the file content you would unshelve the files into your workspace (assuming you have a workspace for the same project your colleague is working on). Create a new (empty) changelist with p4 change (results in e.g. 2345), then use p4 … Read more
pickle is for serializing some object (or objects) as a single bytestream in a file. shelve builds on top of pickle and implements a serialization dictionary where objects are pickled, but associated with a key (some string), so you can load your shelved data file and access your pickled objects via keys. This could be … Read more
The Visual Studio Power Tools should let you do this. C:\src\2\Merlin\Main>tfpt unshelve /? tfpt unshelve – Unshelve into workspace with pending changes Allows a shelveset to be unshelved into a workspace with pending changes. Merges content between local and shelved changes. Allows migration of shelved changes from one branch into another by rewriting server paths. … Read more
Shelving has many uses. The main ones are: Context Switching: Saving the work on your current task so you can switch to another high priority task. Say you’re working on a new feature, minding your own business, when your boss runs in and says “Ahhh! Bug Bug Bug!” and you have to drop your current … Read more