Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 527283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:51:57+00:00 2026-05-13T08:51:57+00:00

This is a newbie question… I got this project and I want to use

  • 0

This is a newbie question…

I got this project and I want to use the google.code svn system, but, I do not how… In fact, I am not so used to svn… Here is what I’ ve done:

svnadmin create octopy_repo

svn import /home/mrt/python/Qt/octopy file:///home/mrt/octopy_repo -m "Initial import"

  Adding  (bin)  /home/mrt/python/Qt/octopy/octopus.png 
  Adding         /home/mrt/python/Qt/octopy/oct.ui
  Adding         /home/mrt/python/Qt/octopy/zipi
  Adding         /home/mrt/python/Qt/octopy/octo.py
  Adding         /home/mrt/python/Qt/octopy/main.py
  Adding         /home/mrt/python/Qt/octopy/etc
  Adding         /home/mrt/python/Qt/octopy/etc/config.list

  Committed revision 1.

mkdir octopy_working

svn checkout file:///home/mrt/octopy_repo /home/mrt/octopy_working

cd octopy_working

This is where it get stuck. First, I edit some file, and then:

svn status
  M      main.py

svn diff

  Index: main.py
  ===================================================================
  --- main.py   (revision 1)
  +++ main.py   (working copy)
  @@ -1,6 +1,6 @@
   # -*- coding: utf-8 -*-      

  -"""The user interface for our app"""
  +"""The user interface for our app some edit"""

   import os,sys
   import ConfigParser

So, great! It knows that the file main.py is edited, now I want to commit the changes:

svn commit -m "Some Text"
   Sending        main.py
   Transmitting file data .
   Committed revision 2.

But, when I look to main.py in /home/mrt/python/Qt/octopy, no changes where done…

Where it sends the changes???? I know that the changes are in “somewhere” but, where????

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T08:51:58+00:00Added an answer on May 13, 2026 at 8:51 am

    The source directory /home/mrt/python/Qt/octopy from which you performed the import is not a working directory (and thus knows nothing about the repository). Once you have performed the import, the source is stored in a special format (which is not directly viewable) in the repository in /home/mrt/octopy_repo, and you do not actually need the imported directory any longer.

    Having performed a checkout, you have a working directory in /home/mrt/octopy_working, which does know about the repository.

    import ---> repository ---> working ----(edit)---+
                   ^                                 |
                   +-------------(commit)------------+
    

    You made some edits in your working directory, and committed them, which sends the changes to the repository. The imported directory is never touched by svn, and because it is not a working directory, the changes will never appear in /home/mrt/python/Qt/octopy.

    It is a common source of confusion that the imported directory (which we would normally treat as sacrosanct) is effectively ignored or discarded once imported. But you simply need to remember that once under subversion’s control, you do all your edits in a working copy (created from a checkout).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry for this newbie question, but I can't find on google what I need
Sorry for this newbie question, just got starting. I want a simple program to
fans Sorry for this newbie question, but I can't find on google what I
fans Sorry for this newbie question, but I can't find on google what I
Sorry if this is a newbie question, searching google and SO turns up nothing,
I know that this is a newbie question but I am a newbie so
Don't dismiss this as a newbie question! It's not, I'm not, I've tried everything,
may be this is newbie question, but I must ask it! In general I'm
First : Appologize for my bad english. Sorry for this newbie software question, but
This is a newbie question: Can the following HTML/JavaScript code be further simplified by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.