ask to commit, before pull in case hg status return non-nil
Uwe Brauer
oub at mat.ucm.es
Tue Oct 15 16:29:12 UTC 2024
>>> "UBvM" == Uwe Brauer via Mercurial <mercurial at lists.mercurial-scm.org> writes:
> Hi
> I faced a shelve problem, that I will report in a different email.
> Basically I have modified files, I pull without running
> hg status
> The problem is the if I commit the commit is after the commits of the
> pull, which I don't like.
> Possible solutions
> 1. I run hg pull, hg asks: did you run hg status before?
> 2. I run hg pull, hg asks, I noticed there are modifications I
> recommend to commit or to shelve.
> Is anything like this possible?
So far the following works sort of
pre-pull = hg status
And then run
hg pull --confirm
Any better solutions?
--
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.
I support the EU and NATO membership of Ukraine.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5684 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20241015/c57d90b6/attachment-0001.p7s>
More information about the Mercurial
mailing list