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.
Ok, I just couldn't resist that one.... Anyway attached find a zipfile containing a cut from my CVSMailer program where the command line and standard in are parsed together to create a list of files committed with their tags (if there is a tag mentioned then the file is on a branch). Note thta the list of files is available both on the command line and on the StdIn, but on StdIn embedded spaces are not escaped so I get the files from the command line. But the branch tags are only on StdIn so it has to come from there and then the files and tags need to be matched. Hence the use of the string lists.... /Bo On Tue, 25 Feb 2003 16:23:05 -0500, "Jeffrey S. Nelson" <jnelson at covansys.com> wrote: >Could you please provide a small example of getting the branch name then? > >Thanks > >"Bo Berglund" <bo.berglund at telia.com> wrote in message >news:nenn5vkgbfovnuc94hdv2mtnhsh3gj6504 at 4ax.com... >> Yes... >> >> On Tue, 25 Feb 2003 15:44:22 -0500, "Jeffrey S. Nelson" >> <jnelson at covansys.com> wrote: >> >> >Does anyone know of a way to get the branch name that the commit is >occurring in when a script is executed from commitinfo or loginfo? >> >> >> /Bo >> (Bo Berglund, developer in Sweden) > /Bo (Bo Berglund, developer in Sweden)