Coder Social home page Coder Social logo

treetrim's People

Contributors

pathomas avatar persalmi avatar

treetrim's Issues

treetrim does not handle long path names

What steps will reproduce the problem?
1. try to run treetrim on a tree with a deep path

What is the expected output? What do you see instead?
C:\ccviews>"C:\Program Files (x86)\Tree Trim\TreeTrim.Console.exe" 
"c:\ccviews\platform-1-Dev2" -workingcopy -deletefromdisk 
-zip:writeTo:c:\temp\code.zip
The specified path, file name, or both are too long. The fully qualified file 
name must be less than 260 characters, and the directory name must be less than 
248 characters.
   at System.IO.Path.SafeSetStackPointerValue(Char* buffer, Int32 index, Char value)
   at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
   at System.IO.Path.GetFullPathInternal(String path)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
   at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
   at Dunn.TreeTrim.Disk.CopyFolder(String fromDirectory, String toDirectory)
   at Dunn.TreeTrim.Disk.CopyFolder(String fromDirectory, String toDirectory)
   at Dunn.TreeTrim.Disk.CopyFolder(String fromDirectory, String toDirectory)
   at Dunn.TreeTrim.Disk.CopyFolder(String fromDirectory, String toDirectory)
   at Dunn.TreeTrim.Disk.CopyFolder(String fromDirectory, String toDirectory)
   at Dunn.TreeTrim.Disk.CopyFolder(String fromDirectory, String toDirectory)
   at Dunn.TreeTrim.Disk.CopyFolder(String fromDirectory, String toDirectory)
   at Dunn.TreeTrim.Disk.CopyFolder(String fromDirectory, String toDirectory)
   at Dunn.TreeTrim.WorkingCopyPlugin.Plugin.Run(IPluginRuntimeSettings settings, IPlugin lastPlugin)
   at Dunn.TreeTrim.Task.Run(ITask lastTask)
   at Dunn.TreeTrim.Trimmer.TrimTree(ITaskCollection tasks, String sourceTreeRoot)
   at TreeTrim.Console.Program.Main(String[] args)
--------

What version of the product are you using? On what operating system?
Version 1.0.1
Windows 7 Ultimate, 64bit

Original issue reported on code.google.com by [email protected] on 23 Jun 2010 at 9:06

Program will Crash when i try to clean up a SVN work copy directory.

What steps will reproduce the problem?
1. right click a SVN local directory.
2. click " clean this source code"
3. done.

What is the expected output? What do you see instead?

---------------------------
Trim Tree
---------------------------
文件“C:\Work\treetrim\src\bin\debug”正由另一进程使用,因此该��
�程无法访问该文件。

   在 System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)

   在 System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)

   在 System.IO.Directory.Delete(String path, Boolean recursive)

   在 Dunn.TreeTrim.Disk.DeleteFileOrDirectory(String path)

   在 Dunn.TreeTrim.DeleteFromDiskPlugin.Plugin.deleteChildDirectories(DirectoryInfo directoryInfo)

   在 Dunn.TreeTrim.DeleteFromDiskPlugin.Plugin.analyse(String pathToDirectory)

   在 Dunn.TreeTrim.DeleteFromDiskPlugin.Plugin.Run(IPluginRuntimeSettings settings, IPlugin lastPlugin)

   在 Dunn.TreeTrim.Task.Run(ITask lastTask)

   在 Dunn.TreeTrim.Trimmer.TrimTree(ITaskCollection tasks, String sourceTreeRoot)

   在 TreeTrim.Gui.App.Main(String[] args)

--------






---------------------------
确定   
---------------------------

What version of the product are you using? On what operating system?
 the latest version .

Please provide any additional information below.

i fixed it my local. please check the patch file on attachement.


Original issue reported on code.google.com by [email protected] on 5 Dec 2011 at 9:01

Attachments:

removeSubversionDirectories fails when read-only files exist in .svn folders and doesn't recurse

What steps will reproduce the problem?
1. Try to use the command line to delete the subversion folders from a 
working copy using the -removeSubversionDirectories switch.
2. Exception occurs when a read-only file exists inside the .svn folder

What is the expected output? What do you see instead?

No .svn folders deleted. Exception occurs.

What version of the product are you using? On what operating system?

1.0.1 on Windows 7

Please provide any additional information below.

- The .svn folders were also being ignored because they were hidden
- The folders were also not being recursively traversed by 
GetChildDirectoriesRecursively()
- The .reg file for the explorer extensions does not include the 
removeSubversionDirectories option by default (maybe you don't want that)

A patch file and new reg file is in the attached zip...


Original issue reported on code.google.com by [email protected] on 26 Jul 2009 at 9:09

Attachments:

TreeTrim.GUI.exe shows nothing at all

What steps will reproduce the problem?
1. Installed TreeTrim
2. Launched TreeTrim.GUI.exe
3. Nothing seems to happen at all, no window shows up, nothing gets done

What is the expected output? What do you see instead?

The "GUI" part in the EXE file name suggests that some kind of a windows
should show up, e.g. showing what the directory structure looks like, what
files get processed or something like that.


What version of the product are you using? On what operating system?

TreeTrim 1.0.0.0 on Vista Business 64-bit with SP1

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 12 Jun 2009 at 6:26

TreeTrim doesn't show what it's doing

What steps will reproduce the problem?
1. Launching TreeTrim.console.exe (path) -deletefromdisk
2. Nothing appears to be happening, no output visible (disk is busy)


What is the expected output? What do you see instead?

I would have hoped to see what files get deleted, or at least have an
option like "-verbose" to ask for those outputs; doesn't seem to be available


What version of the product are you using? On what operating system?

TreeTrim 1.0.0.0 on Vista Business 64-bit with SP1
Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 12 Jun 2009 at 6:27

TreeTrim.console.exe should show parameters

What steps will reproduce the problem?
1. Installed TreeTrim
2. Launched TreeTrim.console.exe
3. Instead of explaining how to use it, I get an error "No solution folder
path was provided."
4. Launched TreeTrim.console.exe -? /? -help --help --?
5. All of the above result in error messages, too, along the lines of
"Solution folder path '-?' doesn't exist."

What is the expected output? What do you see instead?

Launching a console utility app with no parameters or with -? /? /help
should result in an explanation how to use the utility, what parameters are
available, etc.

What version of the product are you using? On what operating system?

TreeTrim 1.0.0.0, on Vista Business 64-bit with SP1.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 12 Jun 2009 at 6:24

Access to the path 'all-wcprops' is denied

What steps will reproduce the problem?
1. Windows 7 64 bit
2. Copy subversion folders to a 'staging' folder, so that I'm not cleaning 
out my working folder.
3. Right click the staging folder, and choose 'Clean This Source Code'.

=> Message box with:

---------------------------
Trim Tree
---------------------------
Access to the path 'all-wcprops' is denied.

   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, 
Boolean recursive)

   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean 
recursive)

   at Dunn.TreeTrim.Disk.DeleteFileOrDirectory(String path)

   at 
Dunn.TreeTrim.DeleteFromDiskPlugin.Plugin.deleteChildDirectories(DirectoryI
nfo directoryInfo)

   at Dunn.TreeTrim.DeleteFromDiskPlugin.Plugin.analyse(String 
pathToDirectory)

   at 
Dunn.TreeTrim.DeleteFromDiskPlugin.Plugin.deleteChildDirectories(DirectoryI
nfo directoryInfo)

   at Dunn.TreeTrim.DeleteFromDiskPlugin.Plugin.analyse(String 
pathToDirectory)

   at 
Dunn.TreeTrim.DeleteFromDiskPlugin.Plugin.deleteChildDirectories(DirectoryI
nfo directoryInfo)

   at Dunn.TreeTrim.DeleteFromDiskPlugin.Plugin.analyse(String 
pathToDirectory)

   at Dunn.TreeTrim.DeleteFromDiskPlugin.Plugin.Run(IPluginRuntimeSettings 
settings, IPlugin lastPlugin)

   at Dunn.TreeTrim.Task.Run(ITask lastTask)

   at Dunn.TreeTrim.Trimmer.TrimTree(ITaskCollection tasks, String 
sourceTreeRoot)

   at TreeTrim.Gui.App.Main(String[] args)

Original issue reported on code.google.com by [email protected] on 28 Feb 2010 at 9:26

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.