From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.devel Subject: Re: RCS, again: another removed functionality: undo last-checkin Date: Sun, 20 Sep 2015 17:39:49 +0200 Message-ID: <87k2rl6qwq.fsf@mat.ucm.es> References: <87oagx6tzz.fsf@mat.ucm.es> <838u81p2j1.fsf@gnu.org> <837fnlp27d.fsf@gnu.org> Reply-To: Uwe Brauer NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1442763622 20798 80.91.229.3 (20 Sep 2015 15:40:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Sep 2015 15:40:22 +0000 (UTC) Cc: oub@mat.ucm.es, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 20 17:40:15 2015 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 1Zdgis-0006o1-JZ for ged-emacs-devel@m.gmane.org; Sun, 20 Sep 2015 17:40:14 +0200 Original-Received: from localhost ([::1]:52443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zdgir-0002TX-OL for ged-emacs-devel@m.gmane.org; Sun, 20 Sep 2015 11:40:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42242) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zdgif-0002TA-KN for emacs-devel@gnu.org; Sun, 20 Sep 2015 11:40:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zdgic-0001YO-6e for emacs-devel@gnu.org; Sun, 20 Sep 2015 11:40:01 -0400 Original-Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:36709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zdgib-0001XU-Ra for emacs-devel@gnu.org; Sun, 20 Sep 2015 11:39:58 -0400 Original-Received: by wicgb1 with SMTP id gb1so85385447wic.1 for ; Sun, 20 Sep 2015 08:39:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mat.ucm.es; s=google; h=from:to:cc:subject:references:reply-to:date:message-id:user-agent :mime-version:content-type; bh=jVF0tZ4e+CwBMTJhlV3S4jywab6AlhhRvox/ZZR/Hok=; b=KYXHcxdync5vRs/2JjUcCA4NR6wA6SOuEJfpYyQhXOI3k2Zp/TggzhiB7fennMFu+p IKUaXAMMbXKEq2F5D1kyycDA6DrjlR4W1VqbC21UH0G+4hAA0kuaGPzd4HJV69ETtTU4 IMOdj0LdKx1J7B2u3N4PL49kqlIeY9fCa4twA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:reply-to:date :message-id:user-agent:mime-version:content-type; bh=jVF0tZ4e+CwBMTJhlV3S4jywab6AlhhRvox/ZZR/Hok=; b=ZjF6KNelhqvJ3tANlTgwdMzRGsTZeT7EMGJxZMaasfa8Ot0StDS+zZce2FTwdAGmM/ xHCwoZjnd5hNcFMcwH+vnFwj7FAl7JBfK65rW1tKAlp+PKlEZq0JkSplSC81H+3UWiVS CCd2kMyM4zjfV25Kv3p926yO0oaf6E+KEjZj92Ka0pB3LY1+1GQC6b1BbdXZFJeBdBlO AEGoyeXycnPSIja2utYin3GWHBaZ1NO67hzIk7rK4/QiQtGAOSWN0w3TFyZQUMph9EjV 2m3ouICN2H5i4gabXlmpd9brkmFhkEv5dkAdxuD4C/OAV5iowNOtRNppfR3pDVCWUVk4 DdQQ== X-Gm-Message-State: ALoCoQkJAFuItrtQLKLa3FrL7AjtWbttajLyEkkBtA6eLGozKL6Mdk9H66LMVDQEYFLeyg3TPeJP X-Received: by 10.195.13.5 with SMTP id eu5mr17974909wjd.135.1442763596349; Sun, 20 Sep 2015 08:39:56 -0700 (PDT) Original-Received: from Burrurr (171.pool85-55-19.dynamic.orange.es. [85.55.19.171]) by smtp.gmail.com with ESMTPSA id p3sm8870848wib.16.2015.09.20.08.39.54 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 20 Sep 2015 08:39:55 -0700 (PDT) X-Mailer: emacs 25.0.50.1 (via feedmail 11-beta-1 I) X-Hashcash: 1:20:150920:oub@mat.ucm.es::WLTs+Pv37k3qomj6:0001gfv X-Hashcash: 1:20:150920:eliz@gnu.org::t4zx0EtRMrqrRWJu:000005GgZ X-Hashcash: 1:20:150920:emacs-devel@gnu.org::PtBP1Nsm0/VTpjJe:0000000000000000000000000000000000000000005oeX User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::233 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:190138 Archived-At: > Of course, you can always do this with "rcs -oREV" from the shell, I'm > sure you know that. Yes I do and I came up with a lisp wrapper for that: (defvar vc-remove-command "/usr/bin/rcs -o%s %s " "*Command for removing rcs version from branch.") (defun vc-rcs-remove-version () "Remove interactively versions from the tree." (interactive) (let* ((currentname (buffer-file-name (current-buffer)))) (save-buffer) (shell-command (format vc-remove-command (read-string "version to be removed: ") currentname) "*VC-RCS-LOG*"))) But I am not sure that anybody finds this useful.