I'm using the latest version of Tortoise SVN on Windows XP. I want to add a
file to my SVN ignore list, however, when I right click on the file and
select "Tortoise SVN", the only submenu option is "Delete and add to ignore
list," but I don't want to delete the file, I just want to add it to the
ignore list. How do I do this?
Right now, the file has a red "X" on it if that helps.
Thanks for yours, - Dave
--
View this message in context: http://old.nabble.com/How-do-I-add-the-file-to-the-ignore-list-without-deleting-it--tp27677292p27677292.html
Sent from the tortoisesvn - users mailing list archive at Nabble.com.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2450113
To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].
Delete and add to ignore list is exactly what you want. You want the
file to be removed from the subversion repository, kept locally and
added to the ignore list (you can only ignore items that are not
versioned. If you want the item not to be versioned then it has to be
deleted from the repository).
The fact that it has an X on means it is scheduled for deletion from
the repository. The fact that you can see it at all means that it has
not been deleted locally.
Simon
--
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2450116
There are cases where yes, you do need to exclude but I too am annoyed that
when I righ-click a file and try to simply add it to the ignore list, half
the time it only gives me the option to Delete and Ignore.
What if I do NOT want to delete it but just ignore it. This is a valid
issue. You can't say that 100% of the time you want to delete it from your
local working copy! You loose potentially something vital that you do need
locally but Subversion does not need.
--
View this message in context: http://old.nabble.com/How-do-I-add-the-file-to-the-ignore-list-without-deleting-it--tp27677292p27772139.html
Sent from the tortoisesvn - users mailing list archive at Nabble.com.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454558
You can't ignore a versioned file. It just isn't possible with svn.
> This is a valid
> issue. You can't say that 100% of the time you want to delete it from
> your
> local working copy! You loose potentially something vital that you do
> need
> locally but Subversion does not need.
If you are ok with deleting it from the repository so you can ignore it, you should copy it out of the WC, do the delete and ignore then copy it back into your WC.
If you want to ignore it but is must be in svn then add it to the ignore-on-commit change list.
BOb
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454563
--
View this message in context: http://old.nabble.com/How-do-I-add-the-file-to-the-ignore-list-without-deleting-it--tp27677292p27772745.html
Sent from the tortoisesvn - users mailing list archive at Nabble.com.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454619
So, I'm not sure what more you want it to do?
BOb
> unsub...@tortoisesvn.tigris.org].
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454631
There is a menu item "Delete (keep local)" in the extended context menu.
You'd still have to add the files to the ignore list afterwards ...
Felix
P.S. please don't top-post
--
/^\ | ASCII Ribbon Campaign
\ / | - no HTML in email and news
x | http://www.asciiribbon.org/
/ \ | http://www.gerstbach.at/2004/ascii
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454633
Can someone verify that when you use "Delete and add to Ignore list" it DOES keep the file locally. That is what my testing of this feature showed. Perhaps people are just assuming that it deletes the file locally too?
BOb
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454639
I found that feature in the 1.6.7 manual, but when
I bring up the menu with shift pressed, I get the
same old menu--No Delete (keep local).
// Steve
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454640
The shift right-click only works if you right click in the right pane file list box... it doesn't work in the folder tree.
BOb
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454641
We are talking about the windows context menu in
explorer aren't we? I don't have the folder trees
showing, so I think I'm doing it as you said.
//Steve
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454643
Yes, so I'm not sure why you aren't seeing it. You are holding the shift down before you right click on the file name... then let it go? Then when you move to the TSVN menu you should see the delete (keep local) option in addition to the Delete option.
BOb
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454644
Yup, precisely what I'm saying... I did all that and
no luck. No need to worry, tho. This is Windows,
and I have not rebooted within the hour. 8p
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454646
I can (just tried again), that's why I don't understand the issue Dave
has ...
Felix
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454651
Nice. BTW: I'm running Win7 64-Bit and it have been up for 11:23:12:29.
iirc the last reboot was to install the most recent patches.
BOb
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454652
Well, if I were looking for a way to undo an accidental
commit (which must be the purpose of such a specialized
feature), I would not be certain that it does precisely
what I wanted.
Unless I'm wrong... Shouldn't it just be named after its
purpose? "Reverse accidental commit...", which would
BRING UP A DIALOG where you can choose the optional
"add to ignore list" checkbox. Maybe a checkbox for
"delete local copy" too. Why not? At least that
communicates to the user that the file is safe if
if there's no check-mark.
It does add one step, BUT I think that's a Good Thing.
IMO, anything that is going to operate directly on the
repo should have a some form of confirmation. Look at
the "Add" command, for example. It's doing perhaps the
MOST HARMLESS thing you can do with TSVN (aside from
the strictly read-only stuff), because all it's going
to do is just SCHEDULE the add / commit. You're still
going to get another chance to catch a mistake when
you commit the changes.
A bit of a b r o a d chasm for one tool, don't you
think?
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454660
Well, if that is what you are looking to do, you are barking up the wrong tree. You should be using "Undo changes from the revision" in the Log's shortcut menu.
> Unless I'm wrong... Shouldn't it just be named after its
> purpose? "Reverse accidental commit...", which would
So, apparently you want to do something more specific or different than what you asked about.
BOb
> BRING UP A DIALOG where you can choose the optional
> "add to ignore list" checkbox. Maybe a checkbox for
> "delete local copy" too. Why not? At least that
> communicates to the user that the file is safe if
> if there's no check-mark.
>
> It does add one step, BUT I think that's a Good Thing.
> IMO, anything that is going to operate directly on the
> repo should have a some form of confirmation. Look at
> the "Add" command, for example. It's doing perhaps the
> MOST HARMLESS thing you can do with TSVN (aside from
> the strictly read-only stuff), because all it's going
> to do is just SCHEDULE the add / commit. You're still
> going to get another chance to catch a mistake when
> you commit the changes.
>
> A bit of a b r o a d chasm for one tool, don't you
> think?
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454670
--
View this message in context: http://old.nabble.com/How-do-I-add-the-file-to-the-ignore-list-without-deleting-it--tp27677292p27774479.html
Sent from the tortoisesvn - users mailing list archive at Nabble.com.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454685
... which means I'd have to open the log, find where it
was added, and commit the (merged) code. I would still
have to delete the local copy myself (optionally) and
the file is still not ignored... So, if I wanted to
reverse an accidental Add (perhaps from many moons ago)
then what you suggest is definitely the wrong tree.
AFAICT, "Delete and add to ignore list" is a sequence of
"Delete (keep local)", and "Add to ignore list <without
forcing me to commit first>". I Don't know what it's
ACTUALLY supposed to do; it doesn't look to be documented.
> > Unless I'm wrong... Shouldn't it just be named after
> > its purpose? "Reverse accidental commit..."
> So, apparently you want to do something more specific
> or different than what you asked about.
Nope. Just commenting on the discussion; I didn't start
the thread.
BOb
> BRING UP A DIALOG where you can choose the optional
> "add to ignore list" checkbox. Maybe a checkbox for
> "delete local copy" too. Why not? At least that
> communicates to the user that the file is safe if
> if there's no check-mark.
>
> It does add one step, BUT I think that's a Good Thing.
> IMO, anything that is going to operate directly on the
> repo should have a some form of confirmation. Look at
> the "Add" command, for example. It's doing perhaps the
> MOST HARMLESS thing you can do with TSVN (aside from
> the strictly read-only stuff), because all it's going
> to do is just SCHEDULE the add / commit. You're still
> going to get another chance to catch a mistake when
> you commit the changes.
>
> A bit of a b r o a d chasm for one tool, don't you
> think?
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454670
To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454686
You cannot ignore a versioned item. By definition if it is versioned
it is not ignored.
> What if I do NOT want to delete it but just ignore it. This is a valid
> issue. You can't say that 100% of the time you want to delete it from your
> local working copy! You loose potentially something vital that you do need
> locally but Subversion does not need.
Delete and add to ignore does exactly that. It marks the file for
deletion from the repository but keeps the local version. And it marks
the parent directory to ignore that file in future.
I think the name is causing the confusion here. Perhaps "Unversion and
add to ignore list" would be clearer.
Simon
--
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454986
This is the standard Windows Explorer, not Total Commander, PowerDesk
or another alternative browser?
Which OS are you using?
Simon
--
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454989
The commands are generally named after what they do, not on why you
might use them. Yes it will reverse an accidental commit, but it also
allows you to change your mind about whether something should be
committed rather than implying "admit it, you got that wrong".
But I think the name is wrong. "Unversion and add to ignore list" is a
better indicator that the local copy is kept.
> which would
> BRING UP A DIALOG where you can choose the optional
> "add to ignore list" checkbox. Maybe a checkbox for
> "delete local copy" too. Why not? At least that
> communicates to the user that the file is safe if
> if there's no check-mark.
That's a possibility. IIRC it was considered at the time but rejected.
I don't remember why.
> It does add one step, BUT I think that's a Good Thing.
> IMO, anything that is going to operate directly on the
> repo should have a some form of confirmation. Look at
It doesn't act directly on the repo. You still have to commit the deletion.
> the "Add" command, for example. It's doing perhaps the
> MOST HARMLESS thing you can do with TSVN (aside from
> the strictly read-only stuff), because all it's going
> to do is just SCHEDULE the add / commit. You're still
> going to get another chance to catch a mistake when
> you commit the changes.
>
> A bit of a b r o a d chasm for one tool, don't you
> think?
I don't remember why Add has a progress dialog. My system is set to
auto-dismiss that one for the reasons you state.
Simon
--
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454994
It is that sequence, but you do have to commit. If you are not
prompted for a log message then there is no commit.
You're right, this one has slipped through the documentation net. I'll
get onto that later.
Simon
--
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2454996
Oh, I figured out what was going on there. Something
about Mouse Keys was preventing the Shift key from
registering when I right-clicked with the real mouse.
Thanks.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2455062
Thanks for keeping us informed. Docs (on trunk) have now been updated
to explain the Delete and add to ignore list menu entry in r18808.
Simon
--
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2455209
Hey, I really appreciate your eagerness to smooth that out,
and all of your efforts.
Thanks!
// Steve
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2455213
Isn't it possible somehow to remove/ignore folders from the repo
without deleting them in any of the local copies?
Best regards,
Truck
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2458554
No. You would have to ask for such a feature on the subversion list.
Naturally if there are local changes the files will not just be
deleted, but in that case you would get conflicts, and I guess you
just want the files/folders to stay where they are but not be
versioned.
You can get them back again from the repo browser by going to a
version where they existed and then doing a Save As into your WC.
Simon
--
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2458662