shelving - Mercurial: How can a I make a snapshot of my working directory without doing a changeset? -


while working on new feature arrive @ point works, still not @ point want create changeset. create "restore point" or "snapsnot" can come working version of codebase. in tfs create shelve set.

in mercurial, shelve sets behave different: move file shelf, file reverts state of last changeset. purpose of creating snapshot , continue working, behavior makes shelving not solution.

how can snapshot work , continue files are? 

i know there many questions shelving in mercurial here, not find answer question in them.

comment on helpful answers @mathiasdm , @gill bates

for go commit --amend, available in tortoishg: commit button can converted amend button.

ammend adds changes previous commit instead of creating new changeset. so

  • first create commit rough version ,
  • improve on ammending it.

"hg shelve && hg unshelve --keep" , mq extension nice alternatives.

one command particularly suited is:

hg commit --amend 

it allows create commit , keep improving (amending it). every time 'hg commit --amend', additional changes in working directory added it.

i know not sound 'shelve-like', sounds need not shelve.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -