All of lore.kernel.org
 help / color / mirror / Atom feed
* git svn find-rev -- search for nearest SVN rev
@ 2017-02-21  2:54 Craig McQueen
  0 siblings, 0 replies; only message in thread
From: Craig McQueen @ 2017-02-21  2:54 UTC (permalink / raw)
  To: git

I'm using git svn with a project that uses SubWCRev.exe to incorporate the SVN revision into the build number.

I've updated it to use 'git svn find-rev HEAD' in git svn usage, to achieve the same effect.

This works until I have a local commit that hasn't yet been pushed to SVN with 'git svn dcommit'. Then, 'git svn find-rev HEAD' returns nothing.

It would be really great if the '--before' and '--after' switches would work in this case. Then I could use 'git svn find-rev --before HEAD'.

-- 
Craig McQueen


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-21  3:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-21  2:54 git svn find-rev -- search for nearest SVN rev Craig McQueen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.