From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: vc-dir mode: marking modified files after pull Date: Fri, 31 Oct 2014 14:23:40 -0400 Organization: disorganization Message-ID: Reply-To: sds@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414785400 25504 80.91.229.3 (31 Oct 2014 19:56:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2014 19:56:40 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 31 20:56:36 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XkIJF-0005xY-VH for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2014 20:56:34 +0100 Original-Received: from localhost ([::1]:42220 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkIJF-0004tO-Il for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2014 15:56:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkGrd-0005aG-Fz for emacs-devel@gnu.org; Fri, 31 Oct 2014 14:24:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkGrZ-0004LL-Ej for emacs-devel@gnu.org; Fri, 31 Oct 2014 14:23:57 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:54147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkGrZ-0004LD-8w for emacs-devel@gnu.org; Fri, 31 Oct 2014 14:23:53 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XkGrW-00022a-Pu for emacs-devel@gnu.org; Fri, 31 Oct 2014 19:23:50 +0100 Original-Received: from 66.9.135.66 ([66.9.135.66]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Oct 2014 19:23:50 +0100 Original-Received: from sds by 66.9.135.66 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Oct 2014 19:23:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 66.9.135.66 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Cancel-Lock: sha1:E25PE1zGBoQzy3etx1K/PpET7os= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:176149 Archived-At: Hi, ISTR that when I updated in CVS, the files which were modified by the update were marked as such in the vc-dir buffer. Is there a way to do that with git and hg? With git the answer seems to be $ git diff --name-status ORIG_HEAD.. (http://stackoverflow.com/questions/6535150/git-pull-change-log) With hg it appears that the information has to be extracted before update: $ hg status --rev .:tip (http://stackoverflow.com/questions/3277334/what-files-will-be-changed-vs-added-when-i-do-an-hg-pull-and-hg-update) So the information is available. The question is, what has to be changed in vc-dir.el? Thanks. -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1343 http://www.childpsy.net/ http://openvotingconsortium.org http://ffii.org http://iris.org.il http://islamexposedonline.com http://jihadwatch.org Save time: send elected officials to jail directly, bypassing the office.