From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from duke.felloff.net ([216.126.196.34]) by ur; Tue May 31 04:38:58 EDT 2016 Message-ID: <4336ae571ddd0de49f3f22dafd1224ff@felloff.net> Date: Tue, 31 May 2016 10:38:49 +0200 From: cinap_lenrek@felloff.net To: 9front@9front.org Subject: Re: [9front] how to overwrite the locally modified file? In-Reply-To: <57be33fe4abc00f9d94c3fd924cda5c8@hera.eonet.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: content-addressed API general-purpose frontend i wouldnt go that drastic... rather, just figure out what has been changed and then revert that manually, so you know what is going on. # bind the .hg directory to root, so the hg commands will work bind -ac /dist/plan9front / # what has been changed hg status -m # check differences hg diff # revert specific file hg revert somefile.c # revert all files in current directory hg revert . -- cinap