Hello
I think I better open a new thread.
I am using Xemacs 21.4.21 with vc pkg: 1.41.
together with the RCS backend.
According to
http://xtalk.msk.su/~ott/en/writings/emacs-vcs/EmacsVC.html#sec7
Vc should support branches using the command:
(vc-next-action 1)
(That is without the argument vc does not create branches.)
So what I expect is.
* creation and registration of file.
* add a new line check in. Check out
* want to create a branch 1.2.1 (will be numbered 1.2.1.1)
* continue with the branch modify it 1.2.1.2
* continue with the branch want to return to the tree
* modify and check in 1.4
GNU emacs does this, however Xemacs does not and I am wondering whether
the culprit is vc being too old.
Detailed explanation:
GNU emacs
1.1 first line insert Id and Log header, register
result:
--8<------------------------schnipp------------------------->8---
# $Id: test-rcs.txt,v 1.1 2009/01/29 11:34:17 oub Exp $
# $Log: test-rcs.txt,v $
# Revision 1.1 2009/01/29 11:34:17 oub
# Initial revision
#
First line, header register
--8<------------------------schnapp------------------------->8---
1.2 check out, add text and check in.
Result.
--8<------------------------schnipp------------------------->8---
# $Id: test-rcs.txt,v 1.2 2009/01/29 11:35:56 oub Exp $
# $Log: test-rcs.txt,v $
# Revision 1.2 2009/01/29 11:35:56 oub
# add text
#
# Revision 1.1 2009/01/29 11:34:17 oub
# Initial revision
#
First line, header register
1.2 add text
--8<------------------------schnapp------------------------->8---
1.2.1.1 create branch with (vc-next-action 1)
RESULT
--8<------------------------schnipp------------------------->8---
# $Id: test-rcs.txt,v 1.2.1.1 2009/01/29 11:37:00 oub Exp $
# $Log: test-rcs.txt,v $
# Revision 1.2.1.1 2009/01/29 11:37:00 oub
# this will be the branch 1.2.1
#
# Revision 1.2 2009/01/29 11:35:56 oub
# add text
#
# Revision 1.1 2009/01/29 11:34:17 oub
# Initial revision
#
First line, header register
1.2 add text
1.2.1.1 create branch
--8<------------------------schnapp------------------------->8---
NOTE modeline shows RCS-1.2.1.1
Check out, add text and check in (vc-next-action nil)
RESULT
--8<------------------------schnipp------------------------->8---
# $Id: test-rcs.txt,v 1.2.1.2 2009/01/29 11:39:20 oub Exp $
# $Log: test-rcs.txt,v $
# Revision 1.2.1.2 2009/01/29 11:39:20 oub
# branch 1.2.1.2
#
# Revision 1.2.1.1 2009/01/29 11:37:00 oub
# this will be the branch 1.2.1
#
# Revision 1.2 2009/01/29 11:35:56 oub
# add text
#
# Revision 1.1 2009/01/29 11:34:17 oub
# Initial revision
#
First line, header register
1.2 add text
1.2.1.1 create branch
1.2.1.2 add text and check in
--8<------------------------schnapp------------------------->8---
Return to the tree with (vc-next-action 1)
Modify and check in
RESULT.
--8<------------------------schnipp------------------------->8---
# $Id: test-rcs.txt,v 1.3 2009/01/29 11:40:46 oub Exp $
# $Log: test-rcs.txt,v $
# Revision 1.3 2009/01/29 11:40:46 oub
# 1.3 in tree
#
# Revision 1.2 2009/01/29 11:35:56 oub
# add text
#
# Revision 1.1 2009/01/29 11:34:17 oub
# Initial revision
#
First line, header register
1.2 add text
1.3 in tree
--8<------------------------schnapp------------------------->8---
XEMACS fails when it comes to (vc-next-action 1).
It creates the branch:
--8<------------------------schnipp------------------------->8---
%% $Id: test-rcs.txt,v 1.2.1.1 2009/01/29 11:25:38 oub Exp $
%% $Log: test-rcs.txt,v $
%% Revision 1.2.1.1 2009/01/29 11:25:38 oub
%% 1.2.1
%%
%% Revision 1.2 2009/01/29 11:25:13 oub
%% new lin
%%
%% Revision 1.1 2009/01/29 11:24:55 oub
%% Initial revision
%%
%% Time-stamp: <test-rcs.txt Changed by: Uwe Brauer, Thu Jan 29 12:25 2009>
First line and registration.
1.2 new line
1.2.1 start branch
--8<------------------------schnapp------------------------->8---
Note the Modeline only shows RCS-1.2 and not RCS-1.2.1.1 as GNUS
but when checking out the branch disappears and one is back in the tree
1.2
--8<------------------------schnipp------------------------->8---
%% $Id: test-rcs.txt,v 1.2 2009/01/29 11:25:13 oub Exp oub $
%% $Log: test-rcs.txt,v $
%% Revision 1.2 2009/01/29 11:25:13 oub
%% new lin
%%
%% Revision 1.1 2009/01/29 11:24:55 oub
%% Initial revision
%%
%% Time-stamp: <test-rcs.txt Changed by: Uwe Brauer, Thu Jan 29 12:25 2009>
First line and registration.
1.2 new line --8<------------------------schnapp------------------------->8---
Can anybody please confirm this??
Uwe Brauer
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta