[openib-general] RE: [PATCH] [TRIVIAL] OpenSM: Separate out OSM_VERSION
Hal Rosenstock
halr at voltaire.com
Tue Jan 3 16:53:53 PST 2006
Hi Troy,
On Tue, 2006-01-03 at 14:44, Troy Benjegerdes wrote:
> On Tue, Jan 03, 2006 at 11:01:43AM -0500, Hal Rosenstock wrote:
> > On Tue, 2006-01-03 at 10:43, Eitan Zahavi wrote:
> > > Hi Hal,
> > >
> > > Sounds good.
> > > I think you should be able to use the .svn/entries to get the last
> > > update revision and then use svn diff (or diff) to see if local mods are
> > > done on top of it...
> >
> > I'm using .svn/entries at the osm level.
> >
> > > So we do not get caught by surprise when something broke due to
> > > un-committed mod in the local directory
> > > Thanks
>
> The 'svnversion' command gives you the version, and then checks for
> local mods. No need to reinvent how to do that.
I think svnversion works off the ,svn/entries file anyhow so this is not
reinventing the how. It is slightly more flexible to rely on the actual
file than the command but I'm not adverse to using the command if there
is consensus from others on this.
-- Hal
More information about the general
mailing list