Closed Bug 660137 Opened 13 years ago Closed 13 years ago

Ominous ignored error from remote on push to user repository

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adrake, Assigned: christian)

References

Details

I pushed to my user repository as part of my normal workflow (I hadn't done anything interesting on my end) and was greeted with:

[adrake@charonprime patches]$ hg push
pushing to ssh://hg.mozilla.org/users/drakedevel_gmail.com/ionmonkey-regalloc-mq
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 3 changes to 3 files
remote: Sending messages to pulse.mozilla.org
remote: Please do not interrupt...
remote: ERROR: Hook returned an exception: disable-lowering.patch@67edfbf676f8: not found in manifest
remote: Ignoring and continuing the push...
remote: Trying to insert into pushlog.
remote: Please do not interrupt...
remote: Inserted into the pushlog db successfully.

It doesn't seem to have affected anything, I can still pull fine and the file seems to have made it OK.
At least I know the "continue on error" behavior works...:-)

Andrew says the file was deleted, I'm probably not handling something correctly.
Assignee: server-ops → nobody
Component: Server Operations → Hg: Customizations
OS: Linux → All
QA Contact: mrz → hg.customizations
Hardware: x86_64 → All
Yep, I'm not dealing with deletes correctly. Reproduced locally and wrote a test. Fix coming.
Status: NEW → ASSIGNED
Blocks: 660144
Does this by any chance touch addition?

[adrake@charonprime temp]$ hg push ssh://hg.mozilla.org/users/drakedevel_gmail.com/temp
pushing to ssh://hg.mozilla.org/users/drakedevel_gmail.com/temp
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 2 changesets with 2 changes to 2 files
remote: Sending messages to pulse.mozilla.org
remote: Please do not interrupt...
remote: ERROR: Hook returned an exception: d@7ef2e87605a0: not found in manifest
remote: Ignoring and continuing the push...
remote: Trying to insert into pushlog.
remote: Please do not interrupt...
remote: Inserted into the pushlog db successfully.

This was caused by pushing two commits, one of which added a file 'c' and the other added a file 'd'. Repeating with two more files caused the same behavior. In neitehr case was a message was sent to pulse.
I have a test for addition, but it currently only checks one file. I'll write more extensive checks but I think this patch fixes that case as well.
I confirmed that my fix also fixes the case where we add files (one in each individual commit and multiple in a single commit)
Assignee: nobody → clegnitto
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Product: Release Engineering → Developer Services
You need to log in before you can comment on or make changes to this bug.