From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Use of "Action stamps" in commit messages Date: Fri, 13 Jul 2018 20:38:22 +0300 Message-ID: <83a7qvc9yp.fsf@gnu.org> References: <83pnzrckq7.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1531503449 458 195.159.176.226 (13 Jul 2018 17:37:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2018 17:37:29 +0000 (UTC) Cc: yurivkhan@gmail.com, andrewjmoreton@gmail.com, emacs-devel@gnu.org To: Radon Rosborough Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 13 19:37:24 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fe20S-0008Qg-3L for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2018 19:37:24 +0200 Original-Received: from localhost ([::1]:38542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fe22Z-0001Co-6L for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2018 13:39:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fe21R-0001Bk-QT for emacs-devel@gnu.org; Fri, 13 Jul 2018 13:38:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fe21M-0003AK-Uk for emacs-devel@gnu.org; Fri, 13 Jul 2018 13:38:25 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fe21M-0003A2-QO; Fri, 13 Jul 2018 13:38:20 -0400 Original-Received: from [176.228.60.248] (port=4240 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fe21M-0001Ge-8B; Fri, 13 Jul 2018 13:38:20 -0400 In-reply-to: (message from Radon Rosborough on Fri, 13 Jul 2018 11:30:11 -0600) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227356 Archived-At: > From: Radon Rosborough > Date: Fri, 13 Jul 2018 11:30:11 -0600 > Cc: Eli Zaretskii , Andy Moreton , > emacs-devel > > >> Maybe I'm missing something, but -- if we change to a different VCS, > >> we are going to have to rewrite all the history anyway. Why would it > >> be difficult to have a filter that goes through and replaces all the > >> Git commit IDs with the corresponding ones for the new VCS? > > > > Because it is hard for an automatic tool to tell Git commit IDs from > > unrelated hexadecimal numbers. > > The tool will know all the valid Git commit IDs, though. It could > translate unambiguous prefixes of more than 12 characters (or > something) automatically Git SHA1 signatures don't require 12 digits, 7 are almost always enough. And then there's the output of "git describe" as a variant that should also be supported. > and then prompt the user to resolve the rest. It seems to me like > translating the whole thing wouldn't be more than an afternoon's > work—are there really that many hexadecimal numbers that happen to > be prefixes of Git commit IDs in commit messages? You are overly optimistic. Last time we bumped into this, it required a lot of non-trivial manual work. > IOW, although there are complications, this is something that would > only happen extremely rarely, and would only have to be done by one > person, and probably won't even happen at all. Whereas the alternative > solution requires all the developers to expend extra mental energy. Some problems cannot be worked around. Its just the way things are.