HG file format description

Many people share .hg files without attaching instructions on how to use it. Yet it isn’t evident for everyone which program a .hg file can be edited, converted or printed with. On this page, we try to provide assistance for handling .hg files.

2 filename extension(s) found in our database.

.hg - Mercurial Data

The HG development files are related to Mercurial. The HG file is a Mercurial Data. Mercurial is a cross-platform, distributed revision control tool for software developers. It is mainly implemented using the Python programming language, but includes a binary diff implementation written in C.

Development files
- / -
Mercurial Data related extensions:
Mercurial Dependencies Data
Mercurial EOL Data
Mercurial Ignore Data
Mercurial Configuration Data
Mercurial Signatures Data
Mercurial Subrepo Data

.hg - GNOME C++ Header

The HG development files are related to Gnome. The HG file is a GNOME C++ Header. GNOME is a desktop environment which is composed entirely of free and open-source software and targets to be cross-platform

Development files
- / -
GNOME C++ Header related extensions:
GNOME C++ Source Code
Desktop Entry
Gnome Desktop Data

Naturally, other applications may also use the .hg file extension. Even harmful programs can create .hg files. Be especially cautious with .hg files coming from an unknown source!

Can't open a .hg file?

When you double-click a file to open it, Windows examines the filename extension. If Windows recognizes the filename extension, it opens the file in the program that is associated with that filename extension. When Windows does not recognize a filename extension, you receive the following message:

Windows can't open this file:


To open this file, Windows needs to know what program you want to use to open it. Windows can go online to look it up automatically, or you can manually select one from a list of programs that are installed on your computer.

To avoid this error, you need to set the file association correctly.

The .hg file extension is often given incorrectly!

According to the searches on our site, these misspellings were the most common in the past year:

bg, gg, gh, hb, hf, hh, hr, ht, hv, jg, mg, ng, tg, ug

Is it possible that the filename extension is misspelled?

Similar file extensions in our database:

Harwell Boeing Sparse Matrix
Backgammon for Windows Saved Game
MetaGuide Setup Data
RayShade HeightField Format
HyperTerminal Settings
Humminbird Track Data

Operating systems

DataTypes.net currently supports the following operating systems:

Windows XP/Vista, Windows 7/8/10, Windows 11, CentOS, Debian GNU/Linux, Ubuntu Linux, FreeBSD, macOS, Mac OS X, iOS, Android

If you find the information on this page useful, please feel free to link to this page.


If you have useful information about the .hg file format, then write to us!

DataTypes.net >> HG file