Atanas Raykov wrote:
> I'm using TortoiseSVN for some time now for my "big" project, and I have
> found it quite useful. First of all - you have done a great job. I
Thanks. I like such comments ;)
> Still, there is an idea, that came over me one night about 3AM. Recently
> I've made some huge improvements on my project. I've added some
> libraries and tools that came with a great deal of source code and a lot
> of temporary directories that I use for checking and testing them. All
You should put an svn:ignore property for those temporary dirs so they
won't show up in the commit dialog. If they're not versioned and never
should be (temporary things shouldn't be versioned), then you should
ignore them once and for all. Either select the parent folder of those
temp folders, right-click in the explorer context menu. Then, in the
file property dialog, go to the Subversion tab and add the svn:ignored
property (move the mousepointer over the combobox or the edit box at the
bottom to bring up a tooltip which tells you how the property must be used).
Or: you can select the folder, right-click, then in the TortoiseSVN
submenu choose "Add to ignore list".
> this, including the files in my data folder, that are quite big and
> still very testy to be added in the repository, have made a hell of a
> mess. I've found that I need around 10 minutes to select all the
> unversioned and modified files that I just need to make one commit. And
> unfortunately I simply can't ignore all the others, because they are a
> part of my project, even if at this stage of development they don't
> compile or don't work at all (and I hate commiting non-working stuff on
> my repository). Finally I was almost forced to add them non-working to
> my repository just to clean up my TortoiseSVN commit dialog.
Whenever I have something which brings in new libs (or just a bunch of
new files), I don't version them until I can compile the whole thing and
it works at least a little bit. Until then, I just add those to the
ignore list (set the svn:ignored property) so they don't show up in the
commit dialog. Once everything is ready to be committed, I remove the
svn:ignored property and add the files to Subversion and then commit.
If you want to have those files versioned even if it doesn't compile or
is very unstable, you should consider creating a branch and just commit
there. That way you don't disturb the main trunk.
> And the next thing that came to my mind was the repository browser. This
> is a very helpful tool to get around in a repository (another great job,
> still needs a little tweking, I'll maybe post a thread about that later
> today) and it will be very helpful if it replaces the standart checkout
> file picker. It'll certanly make my life a lot easier if I can select
What do you mean by "standard checkout file picker" ? The checkout
dialog fires up the repository browser already if you specify a valid
URL there.
> just the directories I need to commit, remove all the subfolders where
> my temporary files are and voila! With a few clicks I'm done, while with
> the current checkout picker it'll take me several minutes picking every
> single file.
>
> So, the simple request is to add a tree view in the commit dialog file
> picker and the ability to select/diselect all the files in a certain
> directory (inclusing their subdirectories of cource).
That's not a "simple" request. Ok, I'm wrong: the _request_ is simple,
but the implementation is definitely not. That would be a _very huge_
change in TortoiseSVN. See: the list control used right now in the
commit dialog is also used by the add dialog and the revert dialog.
Also, you can't really sort a treeview. And sorting the files by status
or name is what most people find useful in the commit dialog. With a
treeview, you can only sort the files inside a folder, but not globally.
So I guess I shouldn't implement the treeview...
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Aug 31 21:20:59 2004