Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

SVN Problem

While committing files

  • automatically unzips
  • several files missing for large data (for than 15 MB)

Environment

  • For Server # Server SVN
  • and client side CornerStone2 (MAC OS X)

Edit: I want to commit zipped archives, which have to be unzipped and extracted files will appear in single commit

share|improve this question

closed as not a real question by Shane Madden, Zoredache, Michael Hampton, rnxrx, Ward Sep 26 '12 at 7:47

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Question problem: this is a poorly asked, seems to be off-topic. Environment: this site. –  Zoredache Sep 24 '12 at 6:34
1  
@Zoredache Please help me to make the question to a better one –  Md. Mahbubur R. Aaman Sep 24 '12 at 7:51
add comment

1 Answer

up vote 1 down vote accepted

If question can be expanded into something like

I want to commit zipped archives, which have to be unzipped and extracted files will appear in single commit

answer will be "You can't do it - pre-commit hooks must not change content of transaction body"

If you can agree on additional commit into repo (+1 to every you commit with zips) you can try to build post-commit hook, which:

  • Store committed archives in some temporary location
  • Unzip files
  • svn co unzipped files
  • Clean-up working dir
share|improve this answer
    
I have edited my question –  Md. Mahbubur R. Aaman Sep 24 '12 at 15:15
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.