Announcement

Collapse
No announcement yet.

Excluding .SVN Directories

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Excluding .SVN Directories

    Hi,

    I've excluded .SVN directories, which works well and they dont show, but when I do a copy the .SVN directories are copied? How can I stop this?

  • #2
    Re: Excluding .SVN Directories

    Are you selecting one of the copy operations or the synchronize operations?

    The synchronize operation will, by default, only copy files which are newer/orphaned from the left to right, or right to left.

    Comment


    • #3
      Re: Excluding .SVN Directories

      I'm just right clicking on the directory and clicking Copy, it used to work when using CVS. The files don't display but still copy.

      Could this be a bug?

      Comment


      • #4
        Re: Excluding .SVN Directories

        It's intentional behavior that we're planning on improving. If you select a folder and do any of the standard file operations (copy, move, delete), it currently doesn't take filters into affect. The workaround is to use the expand all button and select the files. We are planning adding an checkbox to control this in a future release.
        Zoë P Scooter Software

        Comment


        • #5
          Re: Excluding .SVN Directories

          Could you just use "svn export" instead?

          Comment


          • #6
            Re: Excluding .SVN Directories

            Yes, the "svn export" command should work to create a non-versioned (no .svn dirs) copy of files from the repository.
            Chris K Scooter Software

            Comment


            • #7
              Re: Excluding .SVN Directories

              "It's intentional behavior that we're planning on improving."

              Translated = A Bug.

              I use BC to sync files from development to production and end up with all the .SVN directories i've excluded. A bug!

              It's copying files that I can't even see, and doesn't even tell me it's copied hidden files that I didn't select. A bug!

              Actually, i'd say a major bug.

              Comment


              • #8
                Re: Excluding .SVN Directories

                If I had meant bug I would have said bug.

                The exact same behavior exists in BC 1 and when we were developing BC 2 we discussed it and intentionally decided to keep it so copying a folder would have the same semantics as moving or deleting it would. It didn't just slip in when we weren't looking. As for not telling you that it's copying the files, if you look at the copy confirmation dialog there's a count of the files and folders that will be affected, which does include copied files.

                As Ernie said, the "Synchronize" commands do not include filtered items (also intentional). If you're synching whole directories it's a better command to use anyway, since it can also be set up to delete files that don't exist on your side.

                We are aware that some people don't like the current behavior and we are planning on adding a checkbox to control it, as well as a more obvious warning, in a future release.
                Zoë P Scooter Software

                Comment


                • #9
                  Re: Excluding .SVN Directories

                  Ok,

                  I understand that you know how this works and you know it's not a bug and you knowingly left it working this way.

                  But I'm a paying customer, who didn't know how this worked, assumed that exclude, actually excluded files, and assumed that it wouldn't be copying files I havent selected.

                  I was aware that the dialogue shows the number of files, etc, but wasn't aware I needed to count how may files I could see and match this against what it said it was going to copy to determine if you were doing something else.

                  I'm probably missing, something but I've never seen any help telling me that exculde works this way nor does it mention it in the settings when you set the filters up.

                  To me a planned feature is something that is documented and obvious to the user.

                  Hey, but what would I know, i'm just the dumb user.

                  Comment


                  • #10
                    Re: Excluding .SVN Directories

                    Sorry, I was more snarky than I should have been.

                    As I said in my first post, we do agree that this can cause problems and we are going to change the behavior in a future release. There will be a checkbox for optionally including filtered items (likely off by default), as well as some sort of warning in the confirmation dialog when there are filtered items present. Since we're going to change the default behavior we aren't changing it until v3. The current behavior is documented in the help for the copy command.

                    I still recommend using the "Sync Left" and "Sync Right" commands for your usage though. You can configure them under "Sync Options" in the Options dialog, and you have full control over what gets copied (newer/older/orphans/empty folders). It can affect just a selection, and it does respect filters.
                    Zoë P Scooter Software

                    Comment


                    • #11
                      Re: Excluding .SVN Directories

                      Thankyou.

                      It's a great product and I look forward to the next release.

                      Comment


                      • #12
                        Re: Excluding .SVN Directories

                        The behavior is somewhat confusing. But I should say the current behavior is quite safe and should come by default.
                        Will that be an idea to list the excluded files/dirs in view with mark like cross line if option x is enabled?
                        Maybe not, it is way too complicated.

                        Comment


                        • #13
                          Re: Excluding .SVN Directories

                          We'll consider a listing of the excluded files/folders, but it is too soon to say exactly how the feature will work.

                          Thank you for the suggestion.
                          Chris K Scooter Software

                          Comment

                          Working...
                          X
                          😀
                          🥰
                          🤢
                          😎
                          😡
                          👍
                          👎