EPICS Home

Experimental Physics and Industrial Control System


 
2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: bzr keywords in source files
From: Benjamin Franksen <[email protected]>
To: EPICS Core-Talk <[email protected]>
Date: Thu, 7 Apr 2016 12:44:57 +0200
Most of the files in base contain so called "keywords" such as
$Revision-Id$ inside comments. In released tar balls these are expanded
to a text like "Revision-Id:
[email protected]".

What is the rationale behind using these keywords? Ideally I would like
to get rid of them completely, see below for a rationale. Failing that,
is there a tool which reverts the expansion back to the raw keywords, so
that what I see is comparable to what I get with bzr branch?

My general gripe with these "keywords" is that they make comparisons
between different versions unnecessarily difficult especially if one of
them originates from a released tar ball, in which case the keywords
have been expanded (however this is done, apparently not using bzr since
the bzr-keywords plugin is completely broken) and I get thousands of
completely irrelevant differences which makes it quite hard to spot the
few relevant ones. This is especially important for users who import
base into a local repo (we use darcs) to track site specific changes
(fixes, configuration, experimental changes). The usual way to do this
cleanly is to create a vendor branch on which tar balls are imported,
plus the occasional upstream patch.

Cheers
Ben
-- 
"Make it so they have to reboot after every typo." ― Scott Adams

Attachment: signature.asc
Description: OpenPGP digital signature


Replies:
Re: bzr keywords in source files Torsten Bögershausen

Navigate by Date:
Prev: Re: ABI Compliance Checker Ralph Lange
Next: Re: bzr keywords in source files Torsten Bögershausen
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: LaunchPad access using bzr+ssh Ralph Lange
Next: Re: bzr keywords in source files Torsten Bögershausen
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024