[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: possible to have a local log instead of going to use svn log and going to site when checking a repo.

From: Stephen Connolly <stephen.alan.connolly_at_gmail.com>
Date: Wed, 15 Jun 2011 07:19:40 +0100

git-svn

- Stephen

---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct result of using swype to type on the
screen
On 15 Jun 2011 07:17, "Ryan Schmidt" <subversion-2011a_at_ryandesign.com>
wrote:
> On Jun 14, 2011, at 22:53, shirish शिरीष wrote:
>
>> Is it possible to check out the log as well when you are checking out
>> a version from some repo.
>
> [snip]
>
>> I know I could do something like this :-
>>
>> svn log > svnlog150611.txt
>>
>> This would download the log file and put the contents in some text
>> file I have named as svnlog150611.txt . The problem with this way of
>> doing things is that each time I have to check out I would have to
>> create a new txt file with that date.
>
> [snip]
>
> There isn't a built-in way to do this.
>
> One solution would be to write a script, which does "svn update" or "svn
checkout" and also gets the log for you and saves it in a file. You would
then train yourself to use that script instead of running "svn update" or
"svn checkout" directly.
>
> The other way would be for you to run your own mirror of their repository,
using svnsync, possibly even on the same computer where you're going to be
checking out these working copies. You would then check out from your
mirror, not the main repo. You could then run "svn log" and it would access
your own repo, not theirs, and so would be usable even when you're offline.
The penalty is that you would have to periodically svnsync their repository
to yours, so you wouldn't be completely up to date between syncs. But
depending on your needs that might be ok.
>
>
>
Received on 2011-06-15 08:20:17 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.