Skip to content

Instantly share code, notes, and snippets.

@zzzeid
zzzeid / fix.py
Last active July 30, 2021 14:54
A small python script that updates the timestamp on a file to match that in the directory state file.
#! /usr/bin/env python
"""
usage: fix.py [-h] path
mitigate mercurial bug 6528 for a particular repo
positional arguments:
path the path of the affected repo
optional arguments: