Mercurial: Unable to unshelve shelved changes -


It seems that your modified files have only shelves except unacquainted or deleted.

I'm new to Mercurial and coming from GIT for me, so this is not expected.

Even the biggest problem I am not able to do is hg unshelve I think there is an error message.

See below:

unshelving changes 'main'

Temporarily Pending Changes (Reinstall with 'hg unshelve --abort')

Resolve unstable changes

abort: uncommitted changes

Is this a required behavior and I'm missing something?

How can I clear my modified files without any restoration / etc?

Is there an extension that behaves like git stash ?

Steps to reproduce:

Enter image details here Environment: </ p> <p> Environment: </ p> <p> OS: Windows 8 </ p> <p> Seasonal: Mercurial Distributed SCM (version 3.0.1). Installed as SAGVIN / USR / BIN / HG (TortoiseHeague is not installed, Windows HG is installed but not used) </ p> <p> Extensions:. </ Div> </ div> <p> <div class =

Is this a required behavior and I'm missing something?

Yes, this is normal behavior if you want Mercurial to track file creation and deletion, you can use hg addremove (or manually Hg add and hg rm must be done with the nullification hg mv . It is ambiguously similar to git add , except that you do not need to do this for modified files.

When you fail, then your working directory should be clean. At the very least, there should not be any missing files (prefix with ! in hg st ) and no modified files ( M With prefix). You can always create a temporary command and hg bar later.

How do I delete my modified files without saving / editing / saving?

In the general case there is no sensible way to do this. If a file changes in the shelf that no longer exists? If the file was committed to delete, you can generate a patch controversy, and that is what makes mercury. But without struggling with it, there is no clear reaction to this situation.

Is there an extension that behaves like git stash ?

Not for my knowledge, but it is beyond the scope of the stack overflow.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -