actual error

32 views
Skip to first unread message

tooth pik

unread,
Aug 19, 2023, 11:21:34 AM8/19/23
to vim...@googlegroups.com
attached (i think)
save-git-failure

Christian Brabandt

unread,
Aug 19, 2023, 4:09:45 PM8/19/23
to vim...@googlegroups.com

On Sa, 19 Aug 2023, tooth pik wrote:

> attached (i think)

Try git reset --hard to get rid of the local changes, then pull again
the latest changes. It should then work again.


Best,
Christian
--
Successful and fortunate crime is called virtue.
-- Seneca

tooth pik

unread,
Aug 19, 2023, 5:32:57 PM8/19/23
to vim...@googlegroups.com

Unstaged changes after reset:
M src/po/ja.sjis.po
M src/po/zh_CN.cp936.po
M src/po/zh_CN.po

error: Your local changes to the following files would be overwritten by merge:
src/po/ja.sjis.po
src/po/zh_CN.cp936.po
src/po/zh_CN.po
Please commit your changes or stash them before you merge.
Aborting
Updating 56bafd7a6..4b1cc7906

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/ZOEhhI4Gj%2BCbnSsH%40256bit.org.

Christian Brabandt

unread,
Aug 20, 2023, 4:34:55 AM8/20/23
to vim...@googlegroups.com

On Sa, 19 Aug 2023, tooth pik wrote:

>
> Unstaged changes after reset:
> M src/po/ja.sjis.po
> M src/po/zh_CN.cp936.po
> M src/po/zh_CN.po
>
> error: Your local changes to the following files would be overwritten by merge:
> src/po/ja.sjis.po
> src/po/zh_CN.cp936.po
> src/po/zh_CN.po
> Please commit your changes or stash them before you merge.
> Aborting
> Updating 56bafd7a6..4b1cc7906

Not sure what you are trying to say here. You need to get rid of the
changes to your local files before you can update them. So that's why I
suggested to use git reset --hard. Note this will wipe out all your
changes. So only do this if you don't care about it. Other options would
be to use git stash for example, that would stash away your changes (and
you could get them later back).

Best,
Christian
--
Fashion is a form of ugliness so intolerable that we have to alter it
every six months.
-- Oscar Wilde

tooth pik

unread,
Aug 20, 2023, 7:25:48 AM8/20/23
to vim...@googlegroups.com
ahh -- you didn't say the "--hard" option before -- that fixed it, thank you

i don't understand any of this, honestly, i didn't change anything

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+u...@googlegroups.com.

Ernie Rael

unread,
Aug 20, 2023, 11:25:28 AM8/20/23
to vim...@googlegroups.com
Related, perhaps off topic.

I was doing "hg bisect" a few days ago, the pass/fail detection had to build vim and run a test. The process aborted after several iterations because of a writable source file and the working directory couldn't be updated. (I made notes, but lost them in the heat of battle)

There were two artifacts when bisect aborted. One was something very much like
M src/po/ja.sjis.po
The other was an untracked file with the same, or very similar, name; maybe at a different level in the tree.

I fixed the problem by add "hg revert" after building, so the bisect rev update wouldn't abort. Probably changed other stuff as well. I think I've seen this source tree file as writable before, sometime within the last few weeks.

-ernie
Reply all
Reply to author
Forward
0 new messages