Actions:
|
2012-08-21 07:26 AEST by Glen Starrett - When sending an email using tag_email and a template file for the email, some
variables are not working properly:
[module] does not work
[tag] does not work outside directory loop (but I believe you can only do 1 tag
per tag operation)
[directory] doesn't work outside of directory loop (expected, but tried to use
it in place of module)
[tag_type] does not work (no value) |
|
2012-08-21 08:47 AEST by Glen Starrett - Created an attachment (id=2482)
Template for testing tag vars & NEW tag test
Test template. Note that [module] was substituted, but is blank. The other
variables that are only valid in the loop still show up unchanged outside the
loop but do work inside the loop.
Test command entered (create a NEW tag):
C:\Users\admin\Documents\junk>cvs tag -m "Just tagging a test" lkjasdl
cvsntsrv server: Tagging .
T a.txt
T b.txt
T tst.doc
cvsntsrv server: Tagging utilities
T utilities/util1.cmd
Output of this template is included here:
hostname: w7x64
repository: /myrepo
commitid: 81c5032af3f13d8
sessionid: 81c5032af3f13d8
server_hostname: w7x64
user: admin
email: gstarrett@mediacombb.net
date: Mon Aug 20 21:42:52 2012
message: Just tagging a test
module:
directory: [directory]
filename: [filename]
tag_type: [tag_type]
action: [action]
tag: [tag]
revision: [revision]
Directory: junk
filename | revision | action | tag | tag_type
a.txt | 1.13 | add | lkjasdl | N
b.txt | 1.9 | add | lkjasdl | N
tst.doc | 1.4 | add | lkjasdl | N
Directory: junk/utilities
filename | revision | action | tag | tag_type
util1.cmd | 1.1 | add | lkjasdl | N
Log message:
Just tagging a test
|
|
2012-08-21 08:50 AEST by Glen Starrett - Did a test with a NEW BRANCH tag. Results show the same "tag_type" (T) as before.
Note that tag_type is giving a value, just not a very meaningful one. It's the
same thing that appears when doing the tag, but I would expect it would indicate
"branch" or "regular" tag.
BRANCH tag test command:
cvs tag -b -m "Just tagging a test" BRsdlsdfs
RESULTS:
hostname: w7x64
repository: /myrepo
commitid: fac5032afa2151b
sessionid: fac5032afa2151b
server_hostname: w7x64
user: admin
email: gstarrett@mediacombb.net
date: Mon Aug 20 21:46:28 2012
message: Just tagging a test
module:
directory: [directory]
filename: [filename]
tag_type: [tag_type]
action: [action]
tag: [tag]
revision: [revision]
Directory: junk
filename | revision | action | tag | tag_type
a.txt | 1.13 | add | BRsdlsdfs | T
b.txt | 1.9 | add | BRsdlsdfs | T
tst.doc | 1.4 | add | BRsdlsdfs | T
Directory: junk/utilities
filename | revision | action | tag | tag_type
util1.cmd | 1.1 | add | BRsdlsdfs | T
Log message:
Just tagging a test
|
|
2012-08-21 08:54 AEST by Glen Starrett - Another test, this time a MOVE EXISTING tag (some had the tag, some new tagged).
NOTE that the "Action" was "mov" for ALL files, but only the first 3 already had
the tag present to move. I did use the -F parameter, maybe that triggered the
"MOV" action?
Test commands:
C:\Users\admin\Documents\junk>cvs tag -m "Just tagging a test" -r 1.1 aaa a.txt
T a.txt
C:\Users\admin\Documents\junk>cvs tag -m "Just tagging a test" -r 1.2 aaa b.txt
T b.txt
C:\Users\admin\Documents\junk>cvs tag -m "Just tagging a test" -r 1.2 aaa tst.do
c
T tst.doc
C:\Users\admin\Documents\junk>cvs tag -F -m "moving tag test" aaa
? ci.txt
cvsntsrv server: Tagging .
T a.txt
T b.txt
T tst.doc
cvsntsrv server: Tagging utilities
T utilities/util1.cmd
RESULTS (just for the last command):
hostname: w7x64
repository: /myrepo
commitid: 1545032b03416f8
sessionid: 1545032b03416f8
server_hostname: w7x64
user: admin
email: gstarrett@mediacombb.net
date: Mon Aug 20 21:51:34 2012
message: moving tag test
module:
directory: [directory]
filename: [filename]
tag_type: [tag_type]
action: [action]
tag: [tag]
revision: [revision]
Directory: junk
filename | revision | action | tag | tag_type
a.txt | 1.13 | mov | aaa | N
b.txt | 1.9 | mov | aaa | N
tst.doc | 1.4 | mov | aaa | N
Directory: junk/utilities
filename | revision | action | tag | tag_type
util1.cmd | 1.1 | mov | aaa | N
Log message:
moving tag test
|