---
name: "hg-recover"
section: "1"
platform: "linux"
package: "mercurial"
version: "7.2.4-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/hg-recover"
---

# hg-recover(1)

roll back an interrupted transaction

## NAME

hg recover - roll back an interrupted transaction

## SYNOPSIS

```
hg recover
```

## DESCRIPTION

Recover from an interrupted commit or pull.

This command tries to fix the repository status after an interrupted operation. It should only be necessary when Mercurial suggests it.

Returns 0 if successful, 1 if nothing to recover or verify fails.

## OPTIONS

- **--verify**

  run *hg verify* after successful recover
