It became necessary to redesign the repository on one of my
major projects. As a result, some files not under version
control were now placed under version control.
The files under the old design that were not under
version control were included in the global-ignore
list in the user-config file.
I forgot to remove these files/extensions from this
global-ignore list and found that this list is
not only used for the svn status subcommand
but also for the svn import subcommand. I found
that no files with their name or their extension
on the global-ignore list in the user-config file,
were imported.
The Subversion book and the notes in the config file
only describe the function of the global-ignore list
with respect to svn status but not with respect to
svn import where it also appears to be active.
Is the role of global-ignore for svn import
a bug or an undocumented feature?
Once I discovered its role for import, I could see
some good uses for svn import. It then becomes
easier to place the files in a directory under version
control without having to remove those files
that were to remain outside such control. Merely
adding their file names or file extensions to the
global-ignore list keeps them from being imported.
If this is a feature, it needs to be mentioned in the
Subversion book in this role as well as for svn status.
Delbert
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 24 16:47:56 2004