You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by shirish शिरीष <sh...@gmail.com> on 2011/06/15 05:53:44 UTC
possible to have a local log instead of going to use svn log and
going to site when checking a repo.
Hi all,
Is it possible to check out the log as well when you are checking out
a version from some repo. For instance this is a game I like :-
CODE: SELECT ALL
------------------------------------------------------------------------
r879 | arnestig | 2011-06-14 03:23:33 +0530 (Tue, 14 Jun 2011) | 2 lines
* Now actually is able to run the system call.
* Removed gcc warnings.
------------------------------------------------------------------------
r878 | arnestig | 2011-06-14 03:11:26 +0530 (Tue, 14 Jun 2011) | 1 line
* Using different dawn executable name depending on what system we are
running on.
------------------------------------------------------------------------
r877 | arnestig | 2011-06-07 03:09:13 +0530 (Tue, 07 Jun 2011) | 2 lines
The game is called dawn-rpg and one can find about it at
dawn-rpg.sourceforge.net but that's not what I want to talk about.
The thing it would be so much more convenient for me if instead of
going to the svn mirror or whatever it is and checking out the log, it
was local. 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. If there was a way one could
check out the log as well when checking out a new version/release it
would be nice.
Its also possible that this might be already be there and there might
be another command to use locally that I am not aware about. In that
case, would look forward to people to share the same. Thank you in
advance
Please CC me any responses as I'm not subscribed to the list.
--
Regards,
Shirish Agarwal शिरीष अग्रवाल
My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17
Re: possible to have a local log instead of going to use svn log and
going to site when checking a repo.
Posted by Stephen Connolly <st...@gmail.com>.
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" <su...@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.
>
>
>
Re: possible to have a local log instead of going to use svn log and going to site when checking a repo.
Posted by Ryan Schmidt <su...@ryandesign.com>.
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.