[SVN (Ubuntu)] SVN file status tag meaning

Source: Internet
Author: User
Tags svn update

A Item

File, directory, or symbolic chain item is scheduled to be added to the repository.

C Item

The file item conflicts with the local version when it is updated from the server, and you must resolve the conflict manually before you commit to the repository.

D Item

File, directory, or symbolic chain item is scheduled to be removed from the repository.

M Item

The contents of the file item have been modified.

R Item

File, directory, or symbolic chain item is scheduled to be replaced with item in the repository, which means that the object is first deleted, and another object of the same name is about to be added, and all operations occur in a revision.

X Item

The catalog is not versioned, but is associated with the external definition of subversion, and you can see the "External definition" section for external definitions.

? Item

File, directory, or symbolic chain item is not under version control, you can ignore this problem by using the SVN status--quiet (-Q) parameter or the Svn:ignore property of the parent directory, for the use of ignoring files, see the "Svn:ignore" section.

! Item

File, directory, or symbolic chain item is under version control but is missing or incomplete, which can be caused by the use of non-subversion commands, if it is a directory, it could be a check-out or an update interrupt, using SVN Update can get files or directories from the repository again, or use svn revert file to recover the original files.

~ Item

The file, directory, or symbolic chain item already exists in the repository, but your working copy is another. For example, you delete a repository file, create a new one in its original location, and do not use SVN delete or SVN add for the entire process.

I Item

File, directory, or symbolic chain item is not under version control, Subversion is configured to ignore this file in the SVN Add, SVN import, and SVN status commands, about ignoring the file, see the "Svn:ignore" section. Note that this symbol will only appear when you use the SVN status parameter--no-ignore-otherwise the file will be ignored and will not be displayed!

If you want to cancel the ignore, you can do the following

SVN Global Ignore

, modify the. subversion/config file in the home directory, uncomment the global-ignroes, or remove the file types that you want to ignore from the list.

The default is # global-ignores = *.o *.lo *.la #*#. *.rej *.rej. *~ *~. #*. Ds_store

If you do not remove the comment #, then the subsequent files are ignored,

If you remove # and remove the file type you do not want to ignore, you can cancel the specified file.

A recent requirement is to remove some files from the SVN repository and keep the existing files intact. For example, the database configuration file, each programmer's local configuration is different, if an update submitted on the chaos. The SVN del is removed from the repository but the file is deleted, which causes the file to be deleted for all updates.

With parameter--keep-local, you can keep your local copy, and note that someone else's copy will be deleted if it hasn't been updated.

SVN del--keep-local config.php

Delete (Del, remove, RM): Removes files and directories from the repository.

Usage: 1, delete PATH ...

2. Delete URL ...

1. Each project specified by PATH is dispatched to be deleted from the repository at the next commit. Unless given a

--keep-local parameters, files and directories that are not committed in the working copy are immediately deleted.

If PATH is a versioned or modified project, or contains these items, then only

These items will not be deleted until the--force parameter is given.

2. Each UR l specified item is removed from the repository by an immediate commit.

[SVN (Ubuntu)] SVN file status tag meaning

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.