UC3M

Telematic/Audiovisual Syst./Communication Syst. Engineering

Systems Architecture

September 2017 - January 2018

15.10. Self-assessment questions

Check with these questions that you understand how Subversion works.

  1. You want to download a local copy of your repository for the first time in your PC. Your ID is 100011111 and the remote repository is located at https://flautin.it.uc3m.es/as/NIA_100011111. Which is the correct command you have to execute?

    • svn --username 100011111 list https://flautin.it.uc3m.es/as/NIA_100011111

    • svn --username 100011111 download https://flautin.it.uc3m.es/as/NIA_100011111

    • svn --username 100011111 checkout https://flautin.it.uc3m.es/as/NIA_100011111

    • svn --username 100011111 commit https://flautin.it.uc3m.es/as/NIA_100011111

  2. Once you have downloaded a copy of your repository, you modify a file, file.c, and you want to upload that modified file to the remote repository. Which is the correct command you have to execute?

    • svn --username 100011111 add file.c

    • svn --username 100011111 upload file.c

    • svn --username 100011111 update file.c

    • svn --username 100011111 commit file.c

  3. Once you have downloaded a copy of your repository, you create a new file, new.c, and you want to upload that new file to the remote repository. Which is the correct sequence of commands you have to execute?

    • svn --username 100011111 add new.c

      svn --username 100011111 commit new.c
    • svn --username 100011111 copy new.c

      svn --username 100011111 update new.c
    • svn --username 100011111 commit new.c

      svn --username 100011111 update new.c
    • svn --username 100011111 status new.c

      svn --username 100011111 commit new.c
  4. After creating and uploading the file new.c to the remote repository, your partner have access to that remore repository, so:

    • If your partner downloaded a copy of the remote repository before you had uploaded the new file, he/she does not need to execute further commands; that new file has been downloaded automatically to his/her local copy of the repository.

    • Even though your partner could have downloaded a copy of your remote repository, he/she needs to update his/her local copy (with the update command) to see the new file.

    • Even though your partner could have downloaded a copy of your remote repository, he/she needs to update his/her local copy with the file (command add new.c).

    • None from above.