loginfo with "branch tags" (was RE: [cvsnt] CVSNT Broken! taginfo- Additional Info)

David Hauck davidh at netacquire.com
Thu Mar 24 18:54:51 GMT 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi Bo, that's great, thanks for the information! Regards, -David

> On Thu, 24 Mar 2005 09:56:24 -0800, "David Hauck"
> <davidh at netacquire.com> wrote:
> 
> >Hi,
> >
> >I've been following this thread enough to glean that there may be the
> >possibility of using loginfo to help with generating *branch 
> specific logs*
> >(vis a vis "branch tags"). This is something I've been wanting 
> to setup for
> >a while now. Can this be done (is the %t replacement the branch tag, if
> >applicable)? Any suggestions on what I might try here?
> >
> >Thanks in advance,
> 
> Yes, if you add  %{sVvt} to the end of the line in loginfo then the
> result will be the following (on the command line as one ending
> command parameter):
> <module name> <file>,<oldrevision>,<newrevision>[,<branch tag>]
> <nextfile>,<oldrev>,<newrev>[,<branchtag>] etc
> 
> So the branch tag of the file will be output, but only if it exists.
> And it is done on a file-by-file basis.
> 
> If you pares this in loginfo then you will be able to log commits to
> specific branches as opposed to other commits even if the commit is a
> combination.
> 
> Note that the whole string will be output as one command line argument
> even though it contains spaces, and embedded spaces in file and folder
> names will be escaped with \.
> 
> 
> /Bo
> (Bo Berglund, developer in Sweden)
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook