git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / 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@vger.kernel.org

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

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).