[git-users] gitgui on windows asks repeatedly to compress database

2013-04-10 Thread waas.nett
Hi there, 

I am using Git for different projects and sub-projects on windows 7 64 bit. 
When starting git gui occasionally it will ask for compressing the database 
because of a number of unlinked objects. When pressing yes, it will run a 
compress on the database. Typically after some while (several gui openings 
later) the message box will appear again and I do the compress again. Today 
I have noticed that with one specific repository I can do this endlessly. 
Opening gui git message appears, I do the compress and close git gui. 
Opening it immediately again without any additional other action the same 
message appears.
Up to today I have been using git version 1.8.0.msysgit.0. I have updated 
half an hour ago to the newest version 1.8.2.1 as claimed on git.scm.com, 
but the installed version shows 1.8.1.msysgit.1.
Starting git gui shows the same message for each starting up for particular 
repository. Others are still ok. 

Any solution known? Should I worry? 

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [git-users] gitgui on windows asks repeatedly to compress database

2013-04-10 Thread waas.nett
I have run 
git config --get-all gc.auto
as you suggested on the repository in question. There is no output. For 
checking I have tried with another repo also no output. 


On Wednesday, April 10, 2013 4:31:56 PM UTC+2, Konstantin Khomoutov wrote:

 On Wed, 10 Apr 2013 06:50:32 -0700 (PDT) 
 waas.nett waas...@gmail.com javascript: wrote: 

  I am using Git for different projects and sub-projects on windows 7 
  64 bit. When starting git gui occasionally it will ask for 
  compressing the database because of a number of unlinked objects. 
  When pressing yes, it will run a compress on the database. Typically 
  after some while (several gui openings later) the message box will 
  appear again and I do the compress again. Today I have noticed that 
  with one specific repository I can do this endlessly. Opening gui git 
  message appears, I do the compress and close git gui. Opening it 
  immediately again without any additional other action the same 
  message appears. Up to today I have been using git version 
  1.8.0.msysgit.0. I have updated half an hour ago to the newest 
  version 1.8.2.1 as claimed on git.scm.com, but the installed version 
  shows 1.8.1.msysgit.1. Starting git gui shows the same message for 
  each starting up for particular repository. Others are still ok. 
  
  Any solution known? Should I worry? 

 Did you try to inspect the Git configuration options related to garbage 
 collection (they starts with the gc. prefix)? 

 I would inspect the gc.auto threshold in particular. 
 Try running 

 git config --get-all gc.auto 

 in your suspect repository and see if it's set.  The `git-config` 
 manual page says the default is 6700, and 0 disabels automatic garbage 
 collection. 

 Another option of interest is gc.pruneExpire, which specifies for how 
 long to keep those loose objects. 


-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [git-users] gitgui on windows asks repeatedly to compress database

2013-04-10 Thread waas.nett
Well, problem solved! However, a bit differently than suggested. 
While looking for the syntax I have started by accident git gc for the 
repos in question. It ran for a short while. And the problem is no longer 
shown with git gui. So, my conclusion is that git gui doesn't do the same 
or at least not always. I have introduced the gc.auto setting after 
checking with git gui. 
Thanks for your advice

On Wednesday, April 10, 2013 5:23:51 PM UTC+2, Konstantin Khomoutov wrote:

 On Wed, 10 Apr 2013 08:07:57 -0700 (PDT) 
 waas.nett waas...@gmail.com javascript: wrote: 

 [...] 
   I would inspect the gc.auto threshold in particular. 
   Try running 
   
   git config --get-all gc.auto 
   
   in your suspect repository and see if it's set.  The `git-config` 
   manual page says the default is 6700, and 0 disabels automatic 
   garbage collection. 

  I have run 
  git config --get-all gc.auto 
  as you suggested on the repository in question. There is no output. 
  For checking I have tried with another repo also no output. 

 This means this option hasn't been explicitly set, and so Git GC 
 algorythm use the default value. 


-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[git-users] Re: Trying to convert svn repos to Git repos

2013-01-22 Thread waas.nett

On Tuesday, January 22, 2013 12:11:19 PM UTC+1, Thomas Ferris Nicolaisen 
wrote:



 Yes. If it's possible in SVN, then it ideally should be handled by 
 git-svn. Just make sure you have the latest version of git to make sure 
 this hasn't been fixed in recent versions. It has at least been mentioned 
 on the mailing list at some point: 
 http://git.661346.n2.nabble.com/git-svn-and-subversion-1-7-testcase-failures-due-to-SVN-1-7-changes-td7256873.html

I am using Git 1.8.0 which is the last official release to my 
understanding. 
I cannot verify the problems with subversion as noted in that post. I can 
pull the version of the tag with subversion. However, as described before I 
had renamed it in subversion. However, also pulling the revision where the 
problem was introduced I can pull with subversion. BTW I am using 
TortoiseSVN 1.7.11 linked against subversion 1.7.8. 
So it seem to be limited to git-svn. 


  

 I had pulled a dump of the remote repos. I could remove the extra 
 white-space with an editor and even load the dump into a local repos. 
 Surprisingly this worked without a problem. Only the format issue came into 
 play at this point. I will file a report to the developers on the format 
 issue a bit later. 
 At the moment I am a bit po'ed about getting stuck with converting. I 
 need to make a decision to continue or stop and stay with svn. 


 Everything has costs and benefits. If moving to Git is not critical for 
 you, I'm sure the time can be well invested elsewhere.

I would label myself as pure user. Therefore, I am interested simply in 
using those tools.
Nevertheless, I was digging a bit more. The  Permission denied: Can't open 
'/tmp/report.tmp' : ... gives a line 1210 in SVN.pm. My clumsy conclusion 
is that this might be a problem of bash on top of windows. :-( 

-- 




[git-users] Trying to convert svn repos to Git repos

2013-01-21 Thread waas.nett
Hi there
I have started recently to use Git. Since I have been using svn for a 
couple of year I would like to convert those svn repos including their 
history to Git repos. I have converted already some repos, which is 
certainly time-consuming, but it seems to work. Unfortunately, I have now 
one svn repos which I cannot convert. Obviously I had created by accident a 
tags folder with an additional blank at the end. I never noticed all those 
years. svn does not have an issue with this at all. However, when doing a 
git svn clone it stop there. Certainly I can rename the tag folder and 
remove the blank, but it will not help, because the rename is somewhere 
later in the history. 
The repos is on a server and I made a dump from it. The dump file can be 
edited and the space removed. I can create another svn repos locally and it 
seem to be created fine.
The first issue I was running into was the newer format. i am using the 
newset subversion (format=4) and git svn does understand only format=2. So 
I was creating a svn repos with the older version and could load again the 
dump successfully to this repos. Unfortunately, I still have problems to to 
clone. Now it report an error Permission denied: Can't open 
'/tmp/report.tmp' : ... 

Anyone an idea what to try next? 
Thanks in advance

--