mahsoud / boar

Automatically exported from code.google.com/p/boar
0 stars 0 forks source link

There should be an warning message when checking out non-existing subdir #48

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Check out a non-existing subdir from a session, like "boar co 
MySession/this_dir_does_not_exist"

What is the expected output? What do you see instead?
The operation completes without an error and an empty workdir is created. This 
is confusing if the user intended to check out an existing directory.

This is an accidental feature. It is a very convenient way to create a new 
directory in a session. But the behaviour is likely to confuse a user who 
simply mistyped the name of the directory. There should be a notification 
message explaining that a new directory will be created if you commit any 
changes in this workdir.

Original issue reported on code.google.com by ekb...@gmail.com on 5 Feb 2012 at 10:55

GoogleCodeExporter commented 9 years ago

Original comment by ekb...@gmail.com on 6 Feb 2012 at 9:36