{"thread":{"id":"45183","subject":"git svn find-rev -- search for nearest SVN rev","startedAt":"2017-02-21T03:00:26Z","lastAt":"2017-02-21T03:00:26Z","messageCount":1,"participants":["Craig McQueen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"312184","messageId":"5500469A22567C4BAF673A6E86AFA3A40295E64BC779@IR-CENTRAL.corp.innerrange.com","threadId":"45183","inReplyTo":null,"subject":"git svn find-rev -- search for nearest SVN rev","fromName":"Craig McQueen","fromEmail":"craig.mcqueen@innerrange.com","sentAt":"2017-02-21T02:54:33Z","receivedAt":"2017-02-21T03:00:26Z","isPatch":false,"sender":{"key":"craig.mcqueen@innerrange.com","avatar":null},"body":"I'm using git svn with a project that uses SubWCRev.exe to incorporate the SVN revision into the build number.\n\nI've updated it to use 'git svn find-rev HEAD' in git svn usage, to achieve the same effect.\n\nThis 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.\n\nIt 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'.\n\n-- \nCraig McQueen\n\n"}]}