ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Andrew Borodin <borodin@zarya-k.ru>
To: community@altlinux.ru
Cc: Andrew Borodin <borodin@zarya-k.ru>
Subject: Re: [Comm] cvs: removing last file revision
Date: Thu, 5 Jun 2003 08:56:20 +0400
Message-ID: <20030605045619.GG2028@borodin.zarya> (raw)
In-Reply-To: <20030604140104.GA5662@vcserver.mivlgu.local>

On Wed, Jun 04, 2003 at 06:01:04PM +0400, Sergey Vlasov wrote:
> On Wed, Jun 04, 2003 at 09:16:21 +0400, Andrew Borodin wrote:
> >   Намедни понадобилось удалить из cvs-репозитория последнюю
> > ревизию файла:
> > 
> > [borodin@borodin vd]$ cvs admin -o1.5 traceback.vhd 
> > RCS file: /path/to/project/rtl/vd/traceback.vhd,v
> > deleting revision 1.5
> > done
> 
> Какой ужас...

  Да уж, поспешишь с commit'ом - потом людей насмешишь...
> 
> >   Вроде бы все хорошо: последняя ревизия стала 1.4. Но при этом:
> > 
> > [borodin@borodin vd]$ cat ./CVS/Entries | grep traceback
> > /traceback.vhd/1.5/Tue Jun  3 15:02:41 2003//
> > 
> >   Т. е. содержимое этого файла в соответствие не приведено.
> > Это так и должно быть?
> 
> Должно.
> 
> Таким образом в CVS отменять изменения в общем случае нельзя. Вместо
> этого нужно сделать cvs update -j <new-rev> -j <old-rev> <file>, после
> чего cvs commit; при этом добавится ещё одна ревизия файла. Кстати, в
> документации прямо в описании cvs admin -o стоит ссылка на описание
> этого метода.
> 
> apt-get install doc-gnu-ru-html; http://alexm.here.ru/cvs-ru/

  Все понял, спасибо!

  С уважением,
  А. Бородин.



      reply	other threads:[~2003-06-05  4:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-04  5:16 Andrew Borodin
2003-06-04  6:58 ` Alexey Voinov
2003-06-04 14:01 ` Sergey Vlasov
2003-06-05  4:56   ` Andrew Borodin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030605045619.GG2028@borodin.zarya \
    --to=borodin@zarya-k.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git