Get back lost shelf changes
Even there isn’t Shelf tab in IDE you can find shelved changes as patch files at {ProjectName}/.idea/.idea.{ProjectName}/shelf/.idea/shelf. Then your can apply any selected patch.
Even there isn’t Shelf tab in IDE you can find shelved changes as patch files at {ProjectName}/.idea/.idea.{ProjectName}/shelf/.idea/shelf. Then your can apply any selected patch.
If you just need to get the files from the shelveset to your local folder, this is a normal process and called Unshelve. It downloads the files to your local folder. For example, before unshelve you had the following in your local folder: File 1 File 2 The shelveset has: File 1 (Modified) File 3 … Read more
Shelved means the changes are set aside for you to work on later. Checked in means that the changes are made available to the rest of the team, will be in the build and will eventually ship. Very different. Think of shelving as a tool for context switching when you’re not done with a task. … Read more
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